/* HE NENG Window & Door — Static Site */
:root {
  --brand: #006080;
  --brand-dark: #004d66;
  --brand-light: #007a9e;
  --accent: #e6f212;
  --accent-dark: #c9d60f;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font-sans: "Segoe UI", "Inter", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --container: 1200px;
  --radius: 0.75rem;
  --shadow: 0 4px 24px rgba(0, 96, 128, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 96, 128, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: #fff;
  color: var(--gray-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.site { min-height: 100vh; display: flex; flex-direction: column; }
.site main { flex: 1; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem;
}
@media (min-width: 768px) { .header-inner { height: 5.5rem; } }

.logo { display: flex; align-items: center; gap: 0.875rem; }
.logo-img { height: 3rem; width: auto; object-fit: contain; }
@media (min-width: 768px) { .logo-img { height: 3.75rem; } }
.logo-text-wrap { line-height: 1.15; }
.logo-name {
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--brand); text-transform: uppercase;
}
@media (min-width: 640px) { .logo-name { font-size: 0.95rem; } }
.logo-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.65rem; color: var(--brand-light); margin-top: 0.15rem;
}
@media (min-width: 640px) { .logo-tagline { font-size: 0.75rem; } }

.nav-desktop { display: none; align-items: center; gap: 0.125rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  padding: 0.5rem 0.875rem; font-size: 0.9rem; font-weight: 500;
  color: var(--gray-600); border-radius: 0.5rem; transition: all 0.2s;
}
.nav-desktop a:hover { color: var(--brand); background: var(--gray-50); }
.nav-desktop a.active { color: var(--brand); background: rgba(0,96,128,0.08); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-toggle {
  display: flex; padding: 0.5rem; border: none; background: none;
  color: var(--gray-600); border-radius: 0.5rem; cursor: pointer;
}
.menu-toggle:hover { background: var(--gray-100); }
.menu-toggle svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.nav-mobile {
  display: none; padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--gray-100);
}
.nav-mobile.open { display: block; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }
.nav-mobile a {
  display: block; padding: 0.625rem 0.75rem; font-size: 0.9rem;
  font-weight: 500; color: var(--gray-600); border-radius: 0.5rem;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--brand); background: rgba(0,96,128,0.06); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem;
  border-radius: 0.5rem; border: none; cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--brand-dark); box-shadow: var(--shadow); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline-dark:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background: linear-gradient(145deg, var(--brand-dark) 0%, var(--brand) 45%, #007a9e 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(230,242,18,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(520px, 45vw); height: min(520px, 45vw);
  background: url('../images/products/alibaba-30.jpg') center/contain no-repeat;
  opacity: 0.14; filter: blur(1px); pointer-events: none;
}
@media (max-width: 991px) { .hero::after { display: none; } }
.hero-inner { position: relative; z-index: 1; padding: 4.5rem 0; max-width: 680px; }
.hero-centered { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-centered .hero-desc { margin-left: auto; margin-right: auto; }
.hero-centered .btn-group { justify-content: center; }
.hero-centered .hero-stats { justify-content: center; }
.hero-label {
  display: inline-block; padding: 0.35rem 0.875rem; margin-bottom: 1.25rem;
  background: var(--accent); color: var(--brand-dark);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 2rem;
}
.hero-title {
  font-size: 2.25rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .hero-title { font-size: 3.25rem; } }
.hero-desc { font-size: 1.125rem; opacity: 0.92; margin-bottom: 2rem; max-width: 540px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 0.8125rem; opacity: 0.85; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: #fff; padding: 3.5rem 0; text-align: center;
}
.page-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 2.75rem; } }
.page-hero p { opacity: 0.9; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem;
  font-size: 0.8125rem; opacity: 0.75;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-lg { padding: 6rem 0; }
.bg-light { background: var(--gray-50); }
.bg-brand { background: var(--brand); color: #fff; }
.bg-dark { background: var(--gray-900); color: #fff; }

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.875rem; font-weight: 800; color: var(--gray-900);
  letter-spacing: -0.025em; line-height: 1.2;
}
@media (min-width: 768px) { .section-title { font-size: 2.375rem; } }
.section-title.light { color: #fff; }
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-500); margin-top: 0.875rem; max-width: 640px;
}
.section-subtitle.light { color: rgba(255,255,255,0.75); }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Cards */
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-link { display: block; color: inherit; }
.card-img {
  aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100);
}
.card-img-wrap { position: relative; flex-shrink: 0; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img:not(.product-shot) img { transform: scale(1.05); }
.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  position: relative; z-index: 2; background: #fff;
}
.card-body h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; line-height: 1.35; }
.card-body p { font-size: 0.875rem; color: var(--gray-500); }
.card-price { font-size: 1.125rem; font-weight: 800; color: var(--brand); margin-top: 0.75rem; }
.card-price small { font-size: 0.75rem; font-weight: 500; color: var(--gray-400); }
.card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
  background: var(--accent); color: var(--brand-dark);
  font-size: 0.6875rem; font-weight: 700; padding: 0.25rem 0.625rem;
  border-radius: 2rem; text-transform: uppercase; letter-spacing: 0.04em;
}

/* Category tiles */
.cat-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.5rem; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-200); transition: all 0.25s;
}
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cat-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(0,96,128,0.08); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.cat-icon svg { width: 1.75rem; height: 1.75rem; }
.cat-tile h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.375rem; }
.cat-tile p { font-size: 0.8125rem; color: var(--gray-500); }

/* Feature boxes */
.feature-box {
  padding: 2rem; background: #fff; border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.feature-box h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.feature-box p { font-size: 0.9rem; color: var(--gray-500); }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  padding: 2.5rem; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); }
.stat-item span { font-size: 0.8125rem; color: var(--gray-500); margin-top: 0.25rem; display: block; }

/* About split */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; } }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.split-content h2 { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1rem; }
.split-content p { margin-bottom: 1rem; color: var(--gray-600); }
.check-list { margin: 1.5rem 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  padding: 0.375rem 0; font-size: 0.9375rem; color: var(--gray-700);
}
.check-list li::before {
  content: "✓"; flex-shrink: 0;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent); color: var(--brand-dark);
  font-size: 0.6875rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 0.15rem;
}

/* CTA */
.cta-banner {
  padding: 4rem 2rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff; text-align: center;
}
.cta-banner h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.25rem; } }
.cta-banner p { opacity: 0.9; margin-bottom: 1.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Product filters */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.125rem; font-size: 0.8125rem; font-weight: 600;
  border: 1px solid var(--gray-200); border-radius: 2rem;
  background: #fff; color: var(--gray-600); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info-card {
  padding: 2rem; background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.contact-info-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.5rem; }
.contact-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: rgba(0,96,128,0.1); color: var(--brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 1.125rem; height: 1.125rem; }
.contact-item strong { display: block; font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 0.15rem; }
.contact-item span, .contact-item a { font-size: 0.9375rem; color: var(--gray-800); }
.contact-item a:hover { color: var(--brand); }

.form-card {
  padding: 2rem; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--gray-900); }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group label {
  display: block; font-size: 0.8125rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 0.375rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; font-size: 0.9375rem;
  border: 1px solid var(--gray-300); border-radius: 0.5rem;
  font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,96,128,0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Markets */
.market-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.market-tag {
  padding: 0.375rem 0.875rem; font-size: 0.8125rem; font-weight: 500;
  background: rgba(0,96,128,0.08); color: var(--brand);
  border-radius: 2rem;
}

/* Footer */
.footer {
  background: var(--gray-900); color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid; gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 0.875rem; margin-top: 1rem; line-height: 1.7; max-width: 320px; }
.footer-logo { height: 3rem; filter: brightness(1.1); }
.footer h4 { color: #fff; font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding: 1.25rem 0; font-size: 0.8125rem; text-align: center;
  color: rgba(255,255,255,0.45);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none !important; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

/* Trust bar */
.trust-bar {
  background: var(--brand-dark); color: rgba(255,255,255,0.9);
  padding: 0.625rem 0; font-size: 0.8125rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem;
}
.trust-bar span { display: flex; align-items: center; gap: 0.375rem; }
.trust-bar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.trust-bar strong { color: var(--accent); }

.card-img.product-shot {
  aspect-ratio: auto;
  height: 200px; min-height: 200px; max-height: 200px;
  background: linear-gradient(180deg, #eef2f6 0%, #f8fafc 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 0.75rem; flex-shrink: 0;
}
.card-img.product-shot img {
  display: block;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.card:hover .card-img.product-shot img { transform: none; }

/* Hero product strip */
.hero-products {
  background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 2rem 0; margin-top: -1px;
}
.hero-products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 768px) { .hero-products-grid { grid-template-columns: repeat(4, 1fr); } }
.hero-product-item {
  background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200); padding: 0.75rem;
  text-align: center; transition: box-shadow 0.2s, transform 0.2s;
}
.hero-product-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.hero-product-item img {
  width: 100%; height: 120px; object-fit: contain; margin-bottom: 0.5rem;
}
.hero-product-item span {
  font-size: 0.75rem; font-weight: 600; color: var(--gray-600);
  display: block; line-height: 1.3;
}

/* Hero v2 - deprecated split layout */
.hero-v2 { min-height: 520px; }
.hero-grid { display: block; }
.hero-visual { display: none; }
.hero-card {
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-top: 1.5rem;
}
.hero-card-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hero-card-item strong { display: block; font-size: 1.25rem; color: var(--accent); }
.hero-card-item span { font-size: 0.75rem; opacity: 0.85; }

/* Marquee / logos */
.logo-marquee {
  overflow: hidden; padding: 1.5rem 0; background: #fff;
  border-bottom: 1px solid var(--gray-200);
}
.logo-marquee-track {
  display: flex; gap: 3rem; animation: marquee 30s linear infinite;
  width: max-content;
}
.logo-marquee-item {
  flex-shrink: 0; padding: 0.5rem 1.25rem;
  background: var(--gray-50); border-radius: 2rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--gray-600);
  border: 1px solid var(--gray-200); white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Process steps */
.process-steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative; padding: 1.75rem 1.5rem; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow); text-align: center;
}
.process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem;
  background: var(--brand); color: #fff; font-weight: 800;
  border-radius: 50%; font-size: 1rem;
}
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.8125rem; color: var(--gray-500); }

/* Applications */
.app-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 220px; display: flex; align-items: flex-end;
}
.app-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(transparent 20%, rgba(0,77,102,0.88));
}
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.app-card.product-app img { object-fit: contain; background: #eef2f6; padding: 1rem; }
.app-card.product-app::after {
  background: linear-gradient(transparent 35%, rgba(0,77,102,0.92));
}
.app-card-body { position: relative; z-index: 1; padding: 1.5rem; color: #fff; }
.app-card-body h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.app-card-body p { font-size: 0.8125rem; opacity: 0.9; }

/* Gallery masonry */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1;
  cursor: pointer; position: relative; background: #eef2f6;
}
.gallery-item img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (min-width: 768px) {
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* Testimonials */
.testimonial {
  padding: 2rem; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
  height: 100%;
}
.testimonial-stars { color: #f59e0b; font-size: 0.875rem; margin-bottom: 0.75rem; letter-spacing: 0.1em; }
.testimonial p { font-size: 0.9375rem; color: var(--gray-600); font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial-author strong { display: block; font-size: 0.875rem; color: var(--gray-900); }
.testimonial-author span { font-size: 0.75rem; color: var(--gray-500); }

/* Product card enhanced */
.product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.product-card .card-body {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  border-top: 1px solid var(--gray-100);
}
.product-card .card-body h3 { margin-top: 0; }
.product-card .card-body p { margin-bottom: 0; line-height: 1.55; }
.product-card .card-attrs {
  display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0.75rem 0;
}
.product-card .attr-tag {
  font-size: 0.6875rem; font-weight: 600; padding: 0.2rem 0.5rem;
  background: rgba(0,96,128,0.08); color: var(--brand); border-radius: 0.25rem;
}
.product-card .card-actions { margin-top: auto; padding-top: 0.75rem; }

/* Supplier badge strip */
.supplier-strip {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .supplier-strip { grid-template-columns: repeat(5, 1fr); } }
.supplier-badge {
  text-align: center; padding: 1.25rem 0.75rem;
  background: rgba(255,255,255,0.08); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
}
.supplier-badge strong { display: block; font-size: 1.375rem; color: var(--accent); font-weight: 800; }
.supplier-badge span { font-size: 0.6875rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92); display: none;
  align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}

/* Alibaba link pill */
.alibaba-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: #ff6a00; color: #fff;
  border-radius: 2rem; font-size: 0.8125rem; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.alibaba-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,106,0,0.35); color: #fff; }

