﻿

/* ======================================

   昂景生物 Ongene Biotech - 主样式表 v3

   暖橙科技风格 · BioEcho灵感 · 专业现代

   ====================================== */



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');



:root {

  /* Primary — warm orange */

  --color-primary: #E87722;

  --color-primary-dark: #C85D15;

  --color-primary-light: #F5A055;

  --color-primary-bg: rgba(232,119,34,0.06);

  --color-primary-glow: rgba(232,119,34,0.18);

  --color-primary-gradient: linear-gradient(135deg, #F0893A 0%, #E87722 50%, #D0681C 100%);



  /* Accent — deep teal */

  --color-accent: #1A6B7A;

  --color-accent-light: #2A8FA0;

  --color-accent-bg: rgba(26,107,122,0.06);

  --color-accent-gradient: linear-gradient(135deg, #2A8FA0 0%, #1A6B7A 100%);



  /* Neutrals */

  --color-bg: #FFFFFF;

  --color-bg-light: #F0F4F8;

  --color-bg-alt: #F8F9FB;

  --color-bg-warm: #FEFAF6;

  --color-bg-dark: #0B1420;

  --color-text: #111827;

  --color-text-secondary: #374151;

  --color-text-muted: #6B7280;

  --color-text-light: #9CA3AF;



  /* Status / Semantic */

  --color-success: #10B981;

  --color-error: #DC2626;

  --color-warning: #F59E0B;

  --color-info: #1890FF;

  --color-stock-inquiry: #FF9A56;

  --color-stock-lead: #1890FF;



  /* Borders */

  --border-color: #E5E7EB;

  --border-light: #F0F1F3;



  /* Shadows — layered for depth */

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);

  --shadow-md: 0 4px 16px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.03);

  --shadow-lg: 0 12px 32px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.03);

  --shadow-xl: 0 24px 56px rgba(0,0,0,0.09), 0 8px 20px rgba(0,0,0,0.04);

  --shadow-card-hover: 0 12px 32px rgba(232,119,34,0.12), 0 6px 12px rgba(0,0,0,0.06);

  --shadow-glow: 0 0 40px rgba(232,119,34,0.15);



  /* Glow — tech feel */

  --glow-orange-sm: 0 0 8px rgba(232,119,34,0.10);

  --glow-orange-md: 0 0 20px rgba(232,119,34,0.14), 0 4px 12px rgba(232,119,34,0.08);

  --glow-teal-sm: 0 0 8px rgba(26,107,122,0.10);

  --glow-teal-md: 0 0 20px rgba(26,107,122,0.14), 0 4px 12px rgba(26,107,122,0.06);



  /* Radius — slightly larger for modern feel */

  --radius-sm: 8px;

  --radius-md: 12px;

  --radius-lg: 18px;

  --radius-xl: 24px;

  --radius-full: 100px;



  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

}



* { margin: 0; padding: 0; box-sizing: border-box; }

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

body { font-family: "Inter", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; color: var(--color-text); line-height: 1.75; background: var(--color-bg); font-weight: 400; font-size: 15px; }

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

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4, h5, h6 { font-family: "Inter", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }

h1 { font-size: 56px; font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }

h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.2; }

h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }

h4 { font-size: 17px; font-weight: 600; line-height: 1.35; }



/* ===== Header ===== */

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; padding: 12px 0; background: rgba(255,255,255,0.88); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid transparent; transition: all var(--transition-normal); }

.header.scrolled { background: rgba(255,255,255,0.96); border-bottom-color: rgba(0,0,0,0.06); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

.header-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }

.logo-icon { width: 40px; height: 40px; background: var(--color-primary-gradient); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: white; font-size: 19px; font-weight: 800; overflow: hidden; box-shadow: 0 2px 10px rgba(232,119,34,0.3); transition: transform var(--transition-bounce); }

.logo:hover .logo-icon { transform: scale(1.05); }

.logo-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.logo-icon.logo-img img { width: auto; height: 100%; }

.nav-menu { display: flex; list-style: none; gap: 36px; font-size: 14px; font-weight: 500; }

.nav-menu a { position: relative; padding: 6px 0; color: var(--color-text-secondary); transition: color var(--transition-fast); font-weight: 500; }

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

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

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

.nav-menu a.active { color: var(--color-primary); font-weight: 600; }

.menu-toggle { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; background: none; border: none; cursor: pointer; padding: 0; }

.menu-toggle span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s; }

.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 (BioEcho-style split layout) ===== */

.hero {

  position: relative;

  padding: 160px 0 120px;

  margin-top: 0;

  background: linear-gradient(165deg, #F5904A 0%, #E87722 25%, #D0681C 60%, #A84A0E 100%);

  color: white;

  overflow: hidden;

  min-height: 680px;

  display: flex;

  align-items: center;

}

/* Pattern overlay for tech feel */

.hero::before {

  content: '';

  position: absolute; inset: 0;

  background-image:

    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%),

    radial-gradient(circle at 80% 20%, rgba(46,143,160,0.08) 0%, transparent 50%),

    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);

  z-index: 1;

}

/* Dot grid pattern */

.hero::after {

  content: '';

  position: absolute; inset: 0;

  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);

  background-size: 32px 32px;

  z-index: 1;

  opacity: 0.5;

}

.hero-inner {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 56px;

  align-items: center;

  position: relative;

  z-index: 3;

}

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

.hero-right {

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

}

/* Right side: bio illustration via CSS */

.hero-illustration {

  width: 420px;

  height: 420px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

}

.hero-tube {

  width: 140px;

  height: 320px;

  background: linear-gradient(90deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06), rgba(255,255,255,0.18));

  border-radius: 14px 14px 22px 22px;

  border: 2px solid rgba(255,255,255,0.28);

  position: relative;

  box-shadow: 0 24px 64px rgba(0,0,0,0.18), inset 0 2px 8px rgba(255,255,255,0.12);

  transform: rotate(-6deg);

}

.hero-tube-cap {

  position: absolute;

  top: -16px;

  left: -8px;

  right: -8px;

  height: 32px;

  background: linear-gradient(180deg, #FFBB7A, #E87722);

  border-radius: 10px 10px 4px 4px;

  border: 2px solid rgba(255,255,255,0.32);

  box-shadow: 0 2px 8px rgba(0,0,0,0.1);

}

.hero-tube-liquid {

  position: absolute;

  bottom: 10px;

  left: 8px;

  right: 8px;

  height: 45%;

  background: linear-gradient(180deg, rgba(26,107,122,0.45), rgba(26,107,122,0.65));

  border-radius: 0 0 12px 12px;

}

.hero-tube-bubbles span {

  position: absolute;

  background: rgba(255,255,255,0.45);

  border-radius: 50%;

  animation: bubbleRise 3s infinite ease-in;

}

.hero-tube-bubbles span:nth-child(1) { width: 8px; height: 8px; bottom: 32%; left: 32%; animation-delay: 0s; }

.hero-tube-bubbles span:nth-child(2) { width: 5px; height: 5px; bottom: 22%; left: 55%; animation-delay: 1.2s; }

.hero-tube-bubbles span:nth-child(3) { width: 6px; height: 6px; bottom: 42%; left: 44%; animation-delay: 2s; }

@keyframes bubbleRise { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-70px); opacity: 0; } }

/* Floating molecules around tube */

.hero-molecule {

  position: absolute;

  border: 2px solid rgba(255,255,255,0.22);

  border-radius: 50%;

  animation: moleculeFloat 5s infinite ease-in-out;

}

.hero-molecule.m1 { width: 54px; height: 54px; top: 8%; right: -12%; animation-delay: 0s; }

.hero-molecule.m2 { width: 32px; height: 32px; bottom: 18%; left: -8%; animation-delay: 1.5s; }

.hero-molecule.m3 { width: 22px; height: 22px; top: 48%; right: 4%; animation-delay: 3s; border-color: rgba(26,107,122,0.30); }

.hero-molecule::before {

  content: ''; position: absolute; width: 8px; height: 8px;

  background: rgba(255,255,255,0.35); border-radius: 50%;

  top: 50%; left: 50%; transform: translate(-50%,-50%);

}

@keyframes moleculeFloat {

  0%, 100% { transform: translate(0,0) rotate(0deg); }

  33% { transform: translate(10px,-14px) rotate(120deg); }

  66% { transform: translate(-8px,10px) rotate(240deg); }

}

/* DNA helix decoration */

.hero-dna {

  position: absolute;

  top: 50%; right: -30px;

  width: 60px; height: 200px;

  opacity: 0.12;

}

.hero-dna-strand {

  position: absolute;

  width: 5px;

  height: 100%;

  border-radius: 3px;

}

.hero-dna-strand.s1 {

  left: 0; background: linear-gradient(180deg, transparent, white 20%, white 80%, transparent);

  clip-path: polygon(50% 0%, 100% 16%, 100% 34%, 50% 50%, 0% 66%, 0% 84%, 50% 100%, 0% 84%, 0% 66%, 50% 50%, 100% 34%, 100% 16%);

  animation: dnaSway 4s infinite ease-in-out;

}

.hero-dna-strand.s2 {

  right: 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5) 20%, rgba(255,255,255,0.5) 80%, transparent);

  clip-path: polygon(50% 0%, 0% 16%, 0% 34%, 50% 50%, 100% 66%, 100% 84%, 50% 100%, 100% 84%, 100% 66%, 50% 50%, 0% 34%, 0% 16%);

  animation: dnaSway 4s infinite ease-in-out reverse;

}

@keyframes dnaSway { 0%, 100% { transform: skewX(0deg); } 50% { transform: skewX(3deg); } }



/* Hero content styles */

.hero-badge {

  display: inline-flex; align-items: center; gap: 8px;

  background: rgba(255,255,255,0.15);

  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.25);

  border-radius: var(--radius-full); padding: 7px 18px; font-size: 13px;

  color: #FFF; margin-bottom: 24px; font-weight: 500;

  letter-spacing: 0.3px;

}

.dot { width: 7px; height: 7px; background: #4ADE80; border-radius: 50%; animation: pulse 2s infinite; box-shadow: 0 0 6px rgba(74,222,128,0.5); }

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



.hero h1 { font-size: 54px; margin-bottom: 20px; line-height: 1.15; text-align: left; }

.gradient-text {

  background: linear-gradient(135deg, #FFFFFF 0%, #FFE0C0 100%);

  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;

}

.hero-subtitle {

  font-size: 17px; color: rgba(255,255,255,0.85);

  max-width: 500px; margin: 0 0 36px 0; line-height: 1.75; font-weight: 400;

}

.hero-btns { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }



/* Background decorations */

.hero-bg-shape {

  position: absolute; right: -8%; top: -18%;

  width: 700px; height: 700px;

  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 60%);

  border-radius: 50%; z-index: 1; pointer-events: none;

}

.hero-bg-shape-2 {

  position: absolute; left: -12%; bottom: -24%;

  width: 480px; height: 480px;

  background: radial-gradient(circle, rgba(26,107,122,0.15) 0%, transparent 55%);

  border-radius: 50%; z-index: 1; pointer-events: none;

}

.hero-particles { position: absolute; inset: 0; overflow: hidden; z-index: 2; pointer-events: none; }

.particle { position: absolute; width: 3px; height: 3px; background: rgba(255,255,255,0.18); border-radius: 50%; animation: float 6s infinite; }

.particle:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; }

.particle:nth-child(2) { left: 30%; top: 65%; animation-delay: 2s; }

.particle:nth-child(3) { left: 65%; top: 15%; animation-delay: 4s; }

.particle:nth-child(4) { left: 80%; top: 55%; animation-delay: 1s; }

.particle:nth-child(5) { left: 50%; top: 40%; animation-delay: 3s; }

.particle:nth-child(6) { left: 10%; top: 45%; animation-delay: 5s; }

@keyframes float { 0%, 100% { transform: translateY(0); opacity: 0.18; } 50% { transform: translateY(-24px); opacity: 0.35; } }



/* Hero stats cards (glass morphism) */

.hero-stats {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 14px;

  margin-top: 48px;

  width: 100%;

}

.hero-stat-card {

  background: rgba(26,107,122,0.75);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  border-radius: var(--radius-lg);

  padding: 20px 22px;

  text-align: left;

  transition: all var(--transition-fast);

  border: 1px solid rgba(255,255,255,0.10);

}

.hero-stat-card:hover {

  background: rgba(26,107,122,0.88);

  transform: translateY(-2px);

  box-shadow: 0 8px 24px rgba(0,0,0,0.15), 0 0 20px rgba(26,107,122,0.20);

}

.hero-stat-num {

  font-size: 34px;

  font-weight: 800;

  color: white;

  line-height: 1;

}

.hero-stat-label {

  font-size: 13px;

  color: rgba(255,255,255,0.78);

  margin-top: 6px;

  font-weight: 500;

  letter-spacing: 0.2px;

}



/* ===== Sections ===== */

.section { padding: 100px 0; }

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

.section-header { text-align: center; margin-bottom: 60px; }

.section-badge { display: inline-block; background: var(--color-primary-bg); border-radius: var(--radius-full); padding: 6px 18px; font-size: 13px; font-weight: 600; color: var(--color-primary); margin-bottom: 16px; letter-spacing: 0.3px; }

.section-header h2 { margin-bottom: 12px; color: var(--color-text); }

.section-header p { color: var(--color-text-muted); max-width: 560px; margin: 0 auto; font-size: 16px; line-height: 1.6; }



/* ===== Buttons ===== */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 30px; border-radius: var(--radius-md); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--transition-bounce); border: none; font-family: inherit; white-space: nowrap; letter-spacing: 0.1px; }

.btn-primary { background: var(--color-primary-gradient); color: white; box-shadow: 0 4px 14px rgba(232,119,34,0.28); }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,119,34,0.38); filter: brightness(1.05); }

.btn-white { background: white; color: var(--color-primary); box-shadow: var(--shadow-sm); }

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-accent { background: var(--color-accent-gradient); color: white; box-shadow: 0 4px 14px rgba(26,107,122,0.25); }

.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,107,122,0.35); filter: brightness(1.08); }

.btn-lg { padding: 16px 40px; font-size: 17px; border-radius: var(--radius-lg); }

.btn-sm { padding: 9px 20px; font-size: 13px; border-radius: var(--radius-sm); }

.btn-block { display: flex; width: 100%; }

.btn-outline { background: transparent; border: 2px solid var(--border-color); color: var(--color-text-muted); }

.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-bg); transform: translateY(-1px); }



/* ===== Values Grid ===== */

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.value-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 44px 32px; text-align: center; transition: all var(--transition-normal); position: relative; overflow: hidden; }

.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--color-primary-gradient); border-radius: var(--radius-xl) var(--radius-xl) 0 0; opacity: 0; transition: all var(--transition-normal); transform: translateY(-4px); }

.value-card:hover { transform: translateY(-6px); box-shadow: var(--glow-teal-sm); border-color: transparent; }

.value-card:hover::before { opacity: 1; transform: translateY(0); }

.value-icon { font-size: 48px; margin-bottom: 20px; line-height: 1; display: block; transition: transform var(--transition-bounce); }

.value-card:hover .value-icon { transform: scale(1.1); }

.value-card h3 { font-size: 19px; margin-bottom: 12px; font-weight: 700; }

.value-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.75; }



/* ===== Products Grid ===== */

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.product-card { background: white; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-light); transition: all var(--transition-normal); }

.product-card:hover { transform: translateY(-8px); box-shadow: var(--glow-teal-md); border-color: transparent; }

.product-image { background: linear-gradient(160deg, var(--color-bg-alt), #fff); padding: 44px; text-align: center; font-size: 56px; min-height: 160px; display: flex; align-items: center; justify-content: center; }

.product-body { padding: 28px; }

.product-category { font-size: 12px; color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.product-body h3 { font-size: 21px; margin: 10px 0 14px; }

.product-body p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 18px; line-height: 1.7; }

.product-link { color: var(--color-primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition-fast); }

.product-link:hover { gap: 10px; }

a.product-card { display: block; text-decoration: none; color: inherit; background: white; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border-light); transition: all var(--transition-normal); }

a.product-card:hover { transform: translateY(-8px); box-shadow: var(--glow-teal-md); border-color: var(--color-primary); }

a.product-card .product-body h3 { color: var(--color-text); }

a.product-card .product-link { color: var(--color-primary); }



/* ===== Services Grid (legacy 4-col) ==== */

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: all var(--transition-normal); }

.service-card:hover { transform: translateY(-4px); box-shadow: var(--glow-teal-sm); border-color: transparent; }

.service-img { padding: 36px; text-align: center; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.service-body { padding: 24px; text-align: center; }

.service-body h3 { font-size: 17px; margin-bottom: 8px; }

.service-body p { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }

.service-link { display: inline-flex; align-items: center; gap: 4px; color: var(--color-primary); font-weight: 600; font-size: 14px; margin-top: 16px; transition: gap var(--transition-fast); }

.service-link:hover { gap: 8px; }



/* ===== Catalog (Azenta-inspired) ===== */

.catalog-toolbar { display: flex; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; align-items: center; }

.catalog-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }

.catalog-filter-btn { padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; background: #F8FAFB; border: 1px solid #E5E7EB; color: var(--color-text-muted); cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }

.catalog-filter-btn:hover { background: #EEF2F6; color: var(--color-text); border-color: #D1D5DB; }

.catalog-filter-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); box-shadow: 0 2px 8px rgba(232,119,34,0.2); }

.catalog-filter-count { font-size: 11px; opacity: 0.7; margin-left: 4px; }

.catalog-filter-btn.active .catalog-filter-count { opacity: 1; }



.catalog-search-box { position: relative; flex: 0 0 260px; }

.catalog-search-box input { width: 100%; padding: 9px 14px 9px 38px; border: 1px solid #E5E7EB; border-radius: 8px; font-size: 13px; font-family: inherit; background: #F8FAFB; transition: all 0.2s; }

.catalog-search-box input:focus { border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 3px rgba(232,119,34,0.08); outline: none; }

.catalog-search-box .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #9CA3AF; }



.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.catalog-card { background: white; border: 1px solid #E8ECF0; border-radius: 12px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column; }

.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08), 0 4px 8px -4px rgba(0,0,0,0.04); border-color: transparent; }

.catalog-card-image { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(135deg, #F8FAFB 0%, #EEF1F5 100%); overflow: hidden; }

.catalog-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }

.catalog-card-tag { position: absolute; top: 12px; right: 12px; background: var(--color-primary); color: white; font-size: 11px; padding: 4px 12px; border-radius: 6px; font-weight: 600; }

.catalog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.catalog-card-category { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }

.catalog-card-body h3 { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: var(--color-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.catalog-card-sku { font-size: 11px; color: #9CA3AF; font-family: monospace; margin-bottom: 10px; }

.catalog-card-spec { font-size: 12px; color: var(--color-text-muted); line-height: 1.5; margin-bottom: 10px; }

.catalog-card-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #F0F2F4; }

.catalog-card-price { font-size: 18px; font-weight: 800; color: var(--color-primary); }

.catalog-card-stock { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }

.catalog-card-stock.in-stock { color: #10B981; }

.catalog-card-stock.inquiry { color: #F59E0B; }

.catalog-card-stock.lead { color: #1890FF; }

.stock-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.catalog-card-stock.in-stock .stock-dot { background: #10B981; }

.catalog-card-stock.inquiry .stock-dot { background: #F59E0B; }

.catalog-card-stock.lead .stock-dot { background: #1890FF; }

.catalog-empty { text-align: center; padding: 64px 20px; grid-column: 1/-1; color: var(--color-text-muted); }



/* ===== News Cards ===== */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.news-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); transition: all var(--transition-normal); }

.news-card:hover { transform: translateY(-6px); box-shadow: var(--glow-teal-md); border-color: transparent; }

.news-image { position: relative; background: linear-gradient(135deg, #FEF3E8, #FFF8F2); padding: 36px; display: flex; align-items: center; justify-content: center; font-size: 48px; min-height: 100px; }

.news-date { position: absolute; top: 16px; left: 16px; background: var(--color-primary); color: white; border-radius: var(--radius-md); padding: 6px 14px; text-align: center; line-height: 1.2; box-shadow: 0 2px 8px rgba(232,119,34,0.3); }

.news-date span { display: block; font-size: 20px; font-weight: 700; }

.news-date small { font-size: 11px; opacity: 0.85; }

.news-body { padding: 24px; }

.news-meta { display: flex; gap: 12px; font-size: 12px; color: var(--color-text-muted); margin-bottom: 10px; align-items: center; }

.news-category { background: var(--color-primary-bg); color: var(--color-primary); padding: 3px 10px; border-radius: var(--radius-full); font-weight: 600; font-size: 11px; }

.news-body h3 a { color: var(--color-text); font-size: 18px; line-height: 1.4; }

.news-body h3 a:hover { color: var(--color-primary); }

.news-body p { font-size: 14px; color: var(--color-text-muted); margin-top: 8px; line-height: 1.6; }

.news-filter { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }

.filter-btn { padding: 9px 22px; border-radius: var(--radius-full); font-size: 14px; font-weight: 500; background: white; border: 1.5px solid var(--border-color); color: var(--color-text-muted); cursor: pointer; transition: all var(--transition-fast); }

.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); background: var(--color-primary-bg); }

.filter-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); box-shadow: 0 2px 8px rgba(232,119,34,0.3); }



/* ===== CTA ===== */

.cta-section { background: linear-gradient(160deg, #E87722 0%, #D0681C 40%, #B85514 100%); padding: 100px 0; text-align: center; color: white; position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 60%, rgba(255,255,255,0.08) 0%, transparent 55%), radial-gradient(ellipse at 70% 30%, rgba(26,107,122,0.12) 0%, transparent 50%); pointer-events: none; z-index: 0; }

.cta-section::after { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px), radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 100% 100%, 28px 28px; pointer-events: none; z-index: 0; }

.cta-section h2 { font-size: 42px; color: white; margin-bottom: 16px; position: relative; }

.cta-section p { font-size: 19px; opacity: 0.9; margin-bottom: 40px; position: relative; }

.cta-section .container { position: relative; z-index: 1; }

.cta-section .btn-white { box-shadow: 0 8px 32px rgba(0,0,0,0.15); }



/* CTA floating particles */

.cta-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.cta-particle { position: absolute; width: 2px; height: 2px; background: rgba(255,255,255,0.15); border-radius: 50%; animation: ctaParticleFloat 6s infinite ease-in-out; }

.cta-particle:nth-child(1) { left: 15%; top: 40%; animation-delay: 0s; }

.cta-particle:nth-child(2) { left: 80%; top: 25%; animation-delay: 1.5s; }

.cta-particle:nth-child(3) { left: 50%; top: 60%; animation-delay: 3s; }

.cta-particle:nth-child(4) { left: 35%; top: 70%; animation-delay: 4.5s; }

@keyframes ctaParticleFloat { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-16px); opacity: 0.1; } }



/* ===== Tech Divider ===== */

.tech-divider {

  position: relative;

  background: var(--color-bg-dark);

  padding: 64px 0;

  text-align: center;

  overflow: hidden;

}

.tech-divider::before {

  content: '';

  position: absolute; inset: 0;

  background: radial-gradient(ellipse at 40% 50%, rgba(26,107,122,0.10) 0%, transparent 60%),

              radial-gradient(ellipse at 70% 30%, rgba(232,119,34,0.04) 0%, transparent 50%);

  pointer-events: none; z-index: 0;

}

.tech-divider::after {

  content: '';

  position: absolute; inset: 0;

  background-image: radial-gradient(rgba(255,255,255,0.03) 0.5px, transparent 0.5px);

  background-size: 24px 24px;

  pointer-events: none; z-index: 0;

}

.tech-divider-content {

  position: relative; z-index: 1;

  display: flex; align-items: center; justify-content: center; gap: 16px;

  color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500;

  letter-spacing: 2px;

}

.tech-divider-line {

  width: 40px; height: 1px;

  background: linear-gradient(90deg, transparent, rgba(26,107,122,0.5), transparent);

}



/* ===== Footer ===== */

.footer { background: #0A101E; color: #94A3B8; padding: 80px 0 32px; }

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; }

.footer h4 { color: white; font-size: 16px; margin-bottom: 22px; font-weight: 700; letter-spacing: 0.3px; }

.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; }

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 11px; }

.footer-links a { color: #94A3B8; font-size: 14px; transition: all var(--transition-fast); }

.footer-links a:hover { color: var(--color-primary-light); padding-left: 6px; }

.footer-contact p { font-size: 14px; margin-bottom: 10px; line-height: 1.7; }

.footer-bottom { display: flex; justify-content: space-between; padding-top: 36px; margin-top: 64px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 13px; color: #64748B; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }

.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(255,255,255,0.05); color: #94A3B8; font-size: 16px; transition: all var(--transition-bounce); }

.footer-social a:hover { background: var(--color-primary-gradient); color: white; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(232,119,34,0.3); }



/* ===== Page Hero (Subpages) ===== */

.page-hero { padding: 160px 0 90px; background: linear-gradient(170deg, #F2F5F8 0%, #F8FAFB 35%, #FFFFFF 100%); text-align: center; border-bottom: 1px solid var(--border-light); position: relative; overflow: hidden; }

.page-hero::before { content: ''; position: absolute; top: -40%; right: -15%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,107,122,0.05) 0%, transparent 65%); border-radius: 50%; pointer-events: none; z-index: 0; }

.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px); background-size: 30px 30px; z-index: 0; opacity: 0.5; pointer-events: none; }

.page-hero h1 { margin-bottom: 14px; color: var(--color-text); position: relative; z-index: 1; }

.page-hero p { font-size: 18px; color: var(--color-text-muted); max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }

.page-hero .breadcrumb { position: relative; z-index: 1; }

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

.page-hero .btn { position: relative; z-index: 1; }



/* Floating tech particles in sub-page heroes */

.page-hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.page-hero-particle { position: absolute; width: 2px; height: 2px; background: rgba(26,107,122,0.12); border-radius: 50%; animation: heroParticleFloat 8s infinite ease-in-out; }

.page-hero-particle:nth-child(1) { left: 10%; top: 30%; animation-delay: 0s; }

.page-hero-particle:nth-child(2) { left: 85%; top: 20%; animation-delay: 2s; }

.page-hero-particle:nth-child(3) { left: 45%; top: 60%; animation-delay: 4s; }

.page-hero-particle:nth-child(4) { left: 70%; top: 45%; animation-delay: 6s; }

@keyframes heroParticleFloat { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(-20px); opacity: 0.15; } }

.breadcrumb { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 20px; font-size: 14px; color: var(--color-text-muted); }

.breadcrumb a { color: var(--color-primary); font-weight: 600; transition: color var(--transition-fast); }

.breadcrumb a:hover { color: var(--color-primary-dark); text-decoration: underline; }



/* ===== About Page ===== */

.about-content h2 { font-size: 32px; margin-bottom: 16px; }

.timeline { position: relative; padding-left: 36px; }

.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--color-primary) 0%, rgba(232,119,34,0.1) 100%); border-radius: 1px; }

.timeline-item { position: relative; padding-bottom: 36px; }

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot { position: absolute; left: -27px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-primary); border: 3px solid white; box-shadow: 0 0 0 3px rgba(232,119,34,0.2); }

.timeline-content { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-xs); transition: all var(--transition-fast); }

.timeline-content:hover { box-shadow: var(--shadow-md); }

.timeline-year { font-size: 14px; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; letter-spacing: 0.3px; }

.timeline-content h3 { font-size: 18px; margin-bottom: 4px; }

.timeline-content p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }



/* ===== Team Grid ===== */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.team-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; transition: all var(--transition-normal); }

.team-card:hover { transform: translateY(-4px); box-shadow: var(--glow-teal-sm); border-color: transparent; }

.team-avatar { width: 84px; height: 84px; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; font-weight: 700; margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(232,119,34,0.3); }

.team-card h3 { font-size: 18px; font-weight: 600; }

.team-card .position { font-size: 13px; color: var(--color-primary); font-weight: 600; margin-bottom: 12px; }

.team-card p { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; }



/* ===== Contact Page ===== */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }

.contact-info h2 { margin-bottom: 32px; }

.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }

.contact-icon { font-size: 26px; width: 52px; height: 52px; background: var(--color-primary-bg); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.contact-item h4 { font-size: 15px; margin-bottom: 4px; }

.contact-item p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; }

.contact-form-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-xs); }

.contact-form-card h2 { font-size: 24px; margin-bottom: 28px; }



/* ===== Forms ===== */

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

.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-text-secondary); }

.form-group input,

.form-group textarea,

.form-group select {

  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-color); border-radius: var(--radius-md);

  font-size: 14px; font-family: inherit; transition: all var(--transition-fast);

  background: white; color: var(--color-text); outline: none;

}

.form-group input:focus,

.form-group textarea:focus,

.form-group select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(232,119,34,0.08); }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }



/* ===== Admin Table ===== */

.admin-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; }

.admin-table th { text-align: left; padding: 14px 16px; font-size: 12px; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--border-light); background: var(--color-bg-alt); }

.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; }

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td { background: var(--color-bg-warm); }



/* ===== Stat Grid (Admin) ===== */

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }

.stat-card { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border-light); box-shadow: var(--shadow-xs); }

.stat-card h4 { color: var(--color-text-muted); font-size: 13px; font-weight: 500; margin-bottom: 8px; }

.stat-value { font-size: 36px; font-weight: 700; color: var(--color-text); }



/* ===== Product Detail ===== */

.product-detail { display: grid; grid-template-columns: minmax(300px,450px) 1fr; gap: 48px; align-items: start; }

.product-gallery { position: sticky; top: 100px; }

.product-main-image { background: var(--color-bg-alt); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); }

.product-info header h1 { font-size: 30px; margin-bottom: 8px; }

.product-description { font-size: 15px; line-height: 1.85; color: var(--color-text); }

.product-description p { margin-bottom: 12px; }

.product-description ul, .product-description ol { margin: 12px 0 12px 20px; }

.detail-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border-light); }

.detail-section h2 { font-size: 22px; margin-bottom: 20px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--color-bg-alt); border-radius: var(--radius-md); overflow: hidden; }

.spec-table td { padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--border-light); }

.spec-table td:first-child { font-weight: 600; width: 140px; color: var(--color-text-muted); }

.spec-table code { background: rgba(232,119,34,0.04); padding: 2px 8px; border-radius: 4px; font-size: 13px; color: var(--color-primary); }

.doc-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; background: white; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 14px; color: var(--color-primary); transition: all var(--transition-fast); }

.doc-link:hover { border-color: var(--color-primary); background: var(--color-primary-bg); transform: translateY(-1px); }

.toggle-arrow.rotated { transform: rotate(180deg); }



/* ===== Badges ===== */

.badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; letter-spacing: 0.3px; }

.badge-info { background: var(--color-primary-bg); color: var(--color-primary); }



/* ===== Product Grid (4-col) ===== */

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

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

@media (max-width: 768px) { .product-grid { grid-template-columns: 1fr; } }



/* ===== Product Price Block ===== */

.product-price-block { background: var(--color-bg-alt); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border-light); }



/* ===== Dash Grid (Admin) ===== */

.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }



/* ===== Scroll-triggered reveal ===== */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.revealed { opacity: 1; transform: translateY(0); }



/* ===== Number count-up ===== */

.count-up { display: inline-block; }



/* ===== Animations ===== */

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

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

.fade-in-delay-1 { transition-delay: 0.1s; }

.fade-in-delay-2 { transition-delay: 0.2s; }

.fade-in-delay-3 { transition-delay: 0.3s; }

.fade-in-delay-4 { transition-delay: 0.4s; }



/* ===== Partner Logos ===== */

.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; align-items: center; }

.partner-logo { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; text-align: center; font-weight: 600; color: var(--color-text-muted); transition: all var(--transition-bounce); }

.partner-logo:hover { border-color: var(--color-primary); color: var(--color-primary); box-shadow: var(--glow-teal-sm); transform: translateY(-3px); }



/* ===== New Home Page Styles ===== */



/* Logo text layout */

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

.logo-name { font-size: 17px; font-weight: 700; color: var(--color-text); }

.logo-slogan { font-size: 11px; color: var(--color-text-muted); font-weight: 400; }

.header.scrolled .logo-name { color: var(--color-text); }

.header.scrolled .logo-slogan { color: var(--color-text-muted); }



/* Outline white button (Hero) */

.btn-outline-white {

  background: transparent; color: white;

  border: 1.5px solid rgba(255,255,255,0.55);

  backdrop-filter: blur(4px);

}

.btn-outline-white:hover { background: white; color: var(--color-primary); transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: white; }



/* Stats bar (legacy, now hidden) */

.section-stats { background: white; padding: 48px 0; border-bottom: 1px solid var(--border-light); }

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

.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.stat-number { display: inline-flex; align-items: baseline; font-size: 48px; font-weight: 800; color: var(--color-primary); line-height: 1; }

.stat-suffix { font-size: 24px; font-weight: 700; color: var(--color-primary); }

.stat-label { font-size: 14px; color: var(--color-text-muted); font-weight: 500; }



/* Hero overlay & scroll hint */

.hero-overlay {

  position: absolute; inset: 0; z-index: 1;

  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.04) 100%);

  pointer-events: none;

}

.hero-scroll-hint {

  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);

  z-index: 3; display: flex; flex-direction: column; align-items: center;

  gap: 6px; font-size: 12px; color: rgba(255,255,255,0.6); animation: fadeInUp 1s 1s both;

}

.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.6); border-bottom: 2px solid rgba(255,255,255,0.6); transform: rotate(45deg); animation: scrollBounce 1.5s infinite; }

@keyframes scrollBounce { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(6px); } }

@keyframes fadeInUp { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }



/* ===== Responsive ===== */


/* --- Utility: wrap tables for horizontal scroll on mobile --- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 1024px) {

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

  .products-grid, .catalog-grid, .news-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }

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

  .about-content { grid-template-columns: 1fr !important; }

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

  .hero h1 { font-size: 42px; }

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

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }

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

  .hero-subtitle { margin-left: auto; margin-right: auto; }

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

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

  .hero-right { display: none; }

  .hero h1 { text-align: center; font-size: 42px; }

  .hero-illustration { width: 300px; height: 300px; }

}

@media (max-width: 768px) {

  .menu-toggle { display: flex; }

  .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: white; flex-direction: column; padding: 80px 32px; gap: 20px; box-shadow: -4px 0 20px rgba(0,0,0,0.12); transition: right var(--transition-normal); z-index: 998; }

  .nav-menu.open { right: 0; }

  .hero h1 { font-size: 32px; }

  .hero { padding: 120px 0 60px; min-height: auto; }

  .section { padding: 60px 0; }

  .values-grid, .services-grid { grid-template-columns: 1fr; }

  .products-grid, .catalog-grid, .news-grid, .team-grid { grid-template-columns: 1fr; }

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

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

  .form-row { grid-template-columns: 1fr; }

  .hero-btns { flex-direction: column; align-items: center; }

  h1 { font-size: 32px; }

  h2 { font-size: 26px; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .stat-number { font-size: 36px; }

  .stat-suffix { font-size: 18px; }

  .section-stats { padding: 32px 0; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }

  .hero-stat-card { padding: 14px 12px; }

  .hero-stat-num { font-size: 24px; }

  .hero h1 { font-size: 32px; }

  .product-detail { grid-template-columns: 1fr; }

  .contact-form-card { padding: 28px 20px; }

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

  /* Better card touch targets */
  .value-card, .product-card, .service-card, .news-card,
  .catalog-card, .team-card, .partner-logo { padding: 20px 16px; }
  /* More compact header */
  .header { padding: 8px 0; }
  .header-inner { padding: 0 16px; }
  /* Responsive tables */
    .data-table, table.responsive { min-width: 600px; } /* wrap in .table-responsive div */
  /* Better modal/lightbox */
  .modal-content { width: calc(100vw - 24px); max-width: none; }
  /* Container */
  .container { padding: 0 18px; }
  /* Hidden on mobile */
  .hide-mobile { display: none !important; }
}

/* ===== Small Phone (≤480px) ===== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 14px; }

  h1 { font-size: 28px; letter-spacing: -0.5px; }
  h2 { font-size: 22px; letter-spacing: -0.3px; }
  h3 { font-size: 17px; }
  h4 { font-size: 15px; }

  .hero {
    padding: 100px 0 40px;
    min-height: auto;
  }
  .hero h1 { font-size: 26px; }
  .hero-subtitle { font-size: 14px; padding: 0 8px; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn { padding: 10px 20px; font-size: 13px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .hero-stat-card { padding: 10px 8px; }
  .hero-stat-num { font-size: 20px; }
  .hero-stat-label { font-size: 11px; }

  .section { padding: 40px 0; }
  .section-header { margin-bottom: 24px; }

  .nav-menu { width: 100%; max-width: none; }
  .logo-name { font-size: 15px; }
  .logo-slogan { font-size: 10px; }
  .logo-icon { width: 32px; height: 32px; font-size: 15px; }

  /* Card grids */
  .values-grid, .services-grid,
  .products-grid, .catalog-grid, .news-grid, .team-grid,
  .partners-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-grid { gap: 14px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* CTA */
  .cta-section { padding: 40px 16px; }
  .cta-section h2 { font-size: 22px; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 20px 14px; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 30px; }
  .stat-suffix { font-size: 16px; }
  .stat-label { font-size: 12px; }

  /* Page hero (sub-pages) */
  .page-hero { padding: 100px 0 40px; }
  .page-hero h1 { font-size: 24px; }

  /* Tables - horizontal scroll */
  table { min-width: 600px; } /* wrap in .table-responsive div */

  /* Admin / dash */
  .dash-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }

  /* Catalog detail */
  .product-detail { gap: 16px; }

  /* Scroll hint on mobile */
  .hero-scroll-hint { bottom: 12px; font-size: 10px; }
}
/* ===== Desktop only ===== */
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}
