/* ========================================
   Embrace Medical | JiangSu Embrace Medical Co., Ltd.
   Professional Medical Device Manufacturer Website
   ======================================== */

:root {
  --primary: #0A6EBD;
  --primary-dark: #054E89;
  --primary-darker: #033663;
  --primary-light: #EBF4FD;
  --primary-subtle: #F5F9FD;
  --accent: #009FD4;
  --accent-green: #10B981;
  --white: #FFFFFF;
  --text-dark: #1A2B3C;
  --text-body: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  --bg-light: #F7FAFC;
  --bg-gray: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --nav-height: 76px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif; color: var(--text-body); line-height: 1.7; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--text-dark); line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-gray { background: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); background: var(--primary-light); padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-title { margin-bottom: 12px; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; border: 2px solid transparent; cursor: pointer; transition: all 0.25s ease; }
.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-xl); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--primary-light); transform: translateY(-1px); box-shadow: var(--shadow-xl); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* --- Navigation --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); transition: all 0.3s ease; }
.nav.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border-light); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.5px; color: var(--white); transition: color 0.3s; }
.nav.scrolled .nav-logo { color: var(--text-dark); }
.nav-logo img.logo-icon, .nav-logo .logo-svg { height: 32px; width: auto; }
.nav-logo-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 16px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: all 0.2s; }
.nav.scrolled .nav-links a { color: var(--text-body); }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,0.15); color: var(--white); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { background: var(--primary-light); color: var(--primary); }

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 2px; margin-left: 16px; border-left: 1px solid rgba(255,255,255,0.25); padding-left: 14px; }
.nav.scrolled .lang-switcher { border-color: var(--border); }
.lang-switcher a { font-size: 0.82rem !important; font-weight: 600 !important; padding: 6px 10px !important; border-radius: 5px !important; text-transform: uppercase; }
.lang-switcher a.active-lang { background: rgba(255,255,255,0.2) !important; }
.nav.scrolled .lang-switcher a.active-lang { background: var(--primary-light) !important; color: var(--primary) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.nav.scrolled .nav-toggle span { background: var(--text-dark); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 30%, var(--primary) 60%, var(--accent) 100%);
  overflow: hidden;
}

/* Medical cross pattern overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg opacity='0.06' fill='white'%3E%3Cpath d='M55 25h10v70H55zM25 55h70v10H25z'/%3E%3C/g%3E%3C/svg%3E");
  animation: float 20s linear infinite;
}

/* Radial glow */
.hero::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes float {
  0% { background-position: 0 0; }
  100% { background-position: 120px 60px; }
}

/* Decorative floating elements */
.hero-decor {
  position: absolute;
  pointer-events: none;
}
.hero-decor-1 {
  top: 15%;
  left: 8%;
  width: 80px;
  height: 80px;
  opacity: 0.08;
  animation: floatY 6s ease-in-out infinite;
}
.hero-decor-2 {
  bottom: 20%;
  right: 10%;
  width: 60px;
  height: 60px;
  opacity: 0.06;
  animation: floatY 8s ease-in-out infinite reverse;
}
.hero-decor-3 {
  top: 40%;
  right: 15%;
  width: 40px;
  height: 40px;
  opacity: 0.05;
  animation: floatY 7s ease-in-out infinite 1s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero .container { position: relative; z-index: 1; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; padding: 40px 0; color: var(--white); }
.hero-logo { width: 120px; margin: 0 auto 28px; opacity: 0.95; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(4px); padding: 8px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 500; margin-bottom: 28px; border: 1px solid rgba(255,255,255,0.2); }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #60D0A8; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 { color: var(--white); line-height: 1.15; margin-bottom: 8px; }
.hero h1 .chinese { display: block; font-size: 0.45em; font-weight: 400; opacity: 0.8; margin-top: 6px; letter-spacing: 2px; }
.hero-desc { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 1px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.hero-scroll-icon { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; position: relative; }
.hero-scroll-icon::after { content: ""; position: absolute; width: 4px; height: 8px; background: rgba(255,255,255,0.5); border-radius: 2px; top: 8px; left: 50%; transform: translateX(-50%); animation: scroll-dot 1.5s infinite; }
@keyframes scroll-dot { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 20px; } }

/* --- Stats Bar --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: -40px 0 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; z-index: 2; }
.stat-card { padding: 32px 20px; text-align: center; border-right: 1px solid var(--border-light); }
.stat-card:last-child { border-right: none; }
.stat-icon { width: 44px; height: 44px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); border-radius: 10px; color: var(--primary); }
.stat-icon svg { width: 22px; height: 22px; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; letter-spacing: -1px; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* --- Products Grid --- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s ease; border: 1px solid var(--border-light); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.product-card-image {
  height: 260px;
  background: linear-gradient(135deg, var(--primary-subtle) 0%, var(--bg-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}
.product-card-image .prod-img {
  max-height: 100%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .prod-img { transform: scale(1.05); }
.product-card-image .product-badge { position: absolute; top: 12px; right: 12px; background: var(--primary); color: white; font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.product-card-body { padding: 24px; }
.product-card-body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.product-card-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.product-card-features { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card-features span { font-size: 0.75rem; padding: 4px 10px; background: var(--primary-light); color: var(--primary); border-radius: 100px; font-weight: 500; }

/* Product detail expansion */
.product-detail-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-top: 14px; cursor: pointer; transition: color 0.2s; }
.product-detail-btn:hover { color: var(--primary-dark); }
.product-detail-btn svg { transition: transform 0.3s; width: 16px; height: 16px; }
.product-detail-btn.open svg { transform: rotate(180deg); }
.product-details { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.product-details.open { max-height: 400px; padding-top: 16px; }
.product-details ul { padding-left: 18px; }
.product-details li { list-style: disc; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 6px; line-height: 1.5; }

/* --- Certifications Banner --- */
.cert-banner { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 48px 40px; text-align: center; margin-top: 60px; }
.cert-banner-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 28px; }
.cert-banner-grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 12px; }
.cert-badge-icon { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 0.85rem; }
.cert-item h4 { font-size: 1rem; margin-bottom: 2px; }
.cert-item p { font-size: 0.82rem; color: var(--text-muted); }

/* --- Advantages --- */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.advantage-card { background: var(--white); padding: 36px 24px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all 0.3s; position: relative; overflow: hidden; }
.advantage-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform 0.3s ease; }
.advantage-card:hover::before { transform: scaleX(1); }
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.advantage-icon { width: 56px; height: 56px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); border-radius: 14px; color: var(--primary); }
.advantage-icon svg { width: 28px; height: 28px; }
.advantage-card h3 { margin-bottom: 10px; font-size: 1rem; }
.advantage-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* --- CTA --- */
.cta { background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark), var(--primary)); padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg opacity='0.04' fill='white'%3E%3Cpath d='M45 20h10v60H45zM20 45h60v10H20z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-content { color: var(--white); max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p { opacity: 0.9; margin-bottom: 32px; font-size: 1.05rem; }

/* --- About Page --- */
.page-header { background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark), var(--primary)); padding: 160px 0 60px; text-align: center; color: var(--white); position: relative; overflow: hidden; }
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg opacity='0.06' fill='white'%3E%3Cpath d='M55 25h10v70H55zM25 55h70v10H25z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-size: 2.8rem; }
.breadcrumb { margin-top: 12px; font-size: 0.9rem; opacity: 0.8; }
.breadcrumb a { color: var(--white); text-decoration: underline; }

.about-intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap::before { content: ""; position: absolute; top: -12px; left: -12px; width: 100%; height: 100%; border: 2px solid var(--primary); border-radius: var(--radius-lg); opacity: 0.2; z-index: 0; }
.about-image-inner { background: linear-gradient(135deg, var(--primary-subtle), var(--bg-light)); border-radius: var(--radius-lg); padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 16px; border: 1px solid var(--border-light); position: relative; z-index: 1; }
.about-image-inner img { max-height: 160px; border-radius: var(--radius); }
.about-text .section-label { margin-bottom: 12px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; line-height: 1.8; }
.highlight { color: var(--primary); font-weight: 600; }

/* Mission & Vision */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card { background: var(--white); padding: 40px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); text-align: center; position: relative; overflow: hidden; }
.mv-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.mv-icon { width: 64px; height: 64px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: var(--primary-light); border-radius: 16px; color: var(--primary); }
.mv-icon svg { width: 32px; height: 32px; }
.mv-card h3 { margin-bottom: 12px; }
.mv-card p { color: var(--text-muted); line-height: 1.7; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--primary-subtle); padding: 40px 24px; border-radius: var(--radius-lg); text-align: center; border: 1px solid transparent; transition: all 0.3s; position: relative; overflow: hidden; }
.value-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(180deg, var(--primary), var(--accent)); transform: scaleY(0); transition: transform 0.3s ease; }
.value-card:hover::before { transform: scaleY(1); }
.value-card:hover { border-color: var(--primary); background: var(--white); box-shadow: var(--shadow); }
.value-num { font-size: 2rem; font-weight: 800; color: var(--primary); opacity: 0.2; margin-bottom: 12px; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* Certifications */
.certs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; }
.cert-card { background: var(--white); padding: 40px 28px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: all 0.3s; position: relative; overflow: hidden; }
.cert-card::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform 0.3s ease; }
.cert-card:hover::after { transform: scaleX(1); }
.cert-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.cert-badge { display: inline-block; width: 64px; height: 64px; line-height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 1px; }
.cert-card h4 { margin-bottom: 6px; }
.cert-card p { font-size: 0.88rem; color: var(--text-muted); }

/* --- Footer --- */
.footer { background: var(--primary-darker); color: rgba(255,255,255,0.7); padding: 64px 0 0; font-size: 0.9rem; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 12px; }
.footer-brand p { line-height: 1.7; }
.footer h4 { color: var(--white); margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer-contact p { margin-bottom: 8px; }
.footer-contact strong { color: rgba(255,255,255,0.9); }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.4); font-size: 0.82rem; flex-wrap: wrap; gap: 8px; }

/* --- Product Category System --- */
.product-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.category-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; display: flex; flex-direction: column; }
.category-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-light); transform: translateY(-4px); }
.category-image { height: 220px; background: linear-gradient(135deg, #EBF4FD, #F0F7FE); display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; position: relative; border-bottom: 1px solid var(--border-light); }
.category-image img { max-height: 100%; max-width: 90%; object-fit: contain; }
.category-body { padding: 28px 24px; flex: 1; display: flex; flex-direction: column; }
.category-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); background: var(--primary-light); padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; align-self: flex-start; }
.category-body h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-dark); }
.category-body > p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }
.category-list { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.category-list li { position: relative; padding: 8px 0 8px 22px; font-size: 0.85rem; color: var(--text-body); border-bottom: 1px dashed var(--border-light); line-height: 1.5; }
.category-list li:last-child { border-bottom: none; }
.category-list li::before { content: "›"; position: absolute; left: 0; top: 8px; color: var(--primary); font-weight: 700; font-size: 1.1rem; line-height: 1; }
.category-list li strong { color: var(--text-dark); font-weight: 600; }
.category-list li span { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }

/* --- Manufacturing Capability Section --- */
.manufacturing-hero { background: linear-gradient(135deg, rgba(3,54,99,0.92), rgba(5,78,137,0.85)), url('../assets/cleanroom.jpg') center/cover; padding: 120px 0; color: white; text-align: center; position: relative; overflow: hidden; }
.manufacturing-hero h2 { color: white; margin-bottom: 16px; }
.manufacturing-hero p { font-size: 1.1rem; opacity: 0.92; max-width: 720px; margin: 0 auto 36px; line-height: 1.7; }
.capability-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.capability-pill { background: rgba(255,255,255,0.12); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.25); color: white; padding: 8px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 500; }

/* --- Production Showcase --- */
.production-showcase { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 50px; }
.production-img { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow); min-height: 220px; }
.production-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.production-img:hover img { transform: scale(1.05); }
.production-img .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(3,54,99,0.92), transparent); color: white; }
.production-img .caption h4 { color: white; font-size: 1.05rem; margin-bottom: 4px; }
.production-img .caption p { font-size: 0.82rem; opacity: 0.9; margin: 0; }
.production-img-large { grid-column: span 8; height: 380px; }
.production-img-small { grid-column: span 4; height: 180px; }
.production-img-small + .production-img-small { margin-top: 20px; }
.production-img-half { grid-column: span 6; height: 280px; }
.production-img-third { grid-column: span 4; height: 240px; }

/* --- Product Range Section --- */
.product-range-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.product-range-tab { padding: 10px 22px; background: var(--white); border: 1px solid var(--border); border-radius: 100px; font-size: 0.9rem; font-weight: 600; color: var(--text-body); cursor: pointer; transition: all 0.2s; }
.product-range-tab:hover { border-color: var(--primary); color: var(--primary); }
.product-range-tab.active { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Quality Section --- */
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.quality-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.quality-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.quality-list { list-style: none; padding: 0; }
.quality-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-light); }
.quality-list li:last-child { border-bottom: none; }
.quality-list .check-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.quality-list h4 { font-size: 1rem; margin-bottom: 4px; }
.quality-list p { font-size: 0.88rem; color: var(--text-muted); }

/* --- Industries / Applications --- */
.applications-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.application-card { background: var(--white); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border-light); text-align: center; transition: all 0.25s; }
.application-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.app-icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--primary); }
.app-icon svg { width: 100%; height: 100%; }
.application-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.application-card p { font-size: 0.8rem; color: var(--text-muted); }

/* --- Section dark variant --- */
.section-dark { background: var(--primary-darker); color: rgba(255,255,255,0.85); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cert-banner-grid { gap: 32px; }
  .product-category-grid { grid-template-columns: repeat(2, 1fr); }
  .production-img-large { grid-column: span 12; }
  .production-img-half { grid-column: span 12; }
  .production-img-small, .production-img-third { grid-column: span 6; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--white); flex-direction: column; padding: 80px 24px 24px; gap: 8px; transition: right 0.3s ease; box-shadow: -4px 0 20px rgba(0,0,0,0.1); }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-dark) !important; font-size: 1.05rem; width: 100%; }
  .nav-links a:hover { background: var(--primary-light); }
  .lang-switcher { margin-left: 0; border-left: none; padding-left: 0; margin-top: 12px; width: 100%; justify-content: center; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border-light); }
  .stat-card:nth-child(3), .stat-card:nth-child(4) { border-bottom: none; }
  .products-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cert-banner { padding: 32px 24px; }
  .cert-banner-grid { gap: 24px; }
  .cert-item { flex-direction: column; text-align: center; }
  .hero-decor { display: none; }
  .product-category-grid { grid-template-columns: 1fr; }
  .production-img-small, .production-img-third { grid-column: span 12; height: 200px; }
  .applications-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: 90vh; }
  .product-card-image { height: 220px; }
}
