/* =========================================================
   SANMU Lighting — English site
   Visual direction inspired by modern industrial-corporate
   sites: deep navy + amber accent, generous spacing, soft cards.
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('../fonts/outfit.css');

/* ---------- Tokens ---------- */
:root {
  --primary: #232a31;
  --primary-light: #34404a;
  --primary-dark: #171c21;
  --secondary: #b45309;
  --secondary-dark: #92400e;
  --bg: #f6f5f2;
  --white: #ffffff;
  --dark: #1d242b;
  --gray: #66727c;
  --gray-light: #98a2aa;
  --border: #e3e2de;
  --shadow-sm: 0 1px 3px rgba(18, 24, 30, .06);
  --shadow-md: 0 6px 20px rgba(18, 24, 30, .08);
  --shadow-lg: 0 14px 40px rgba(18, 24, 30, .10);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: .25s ease;
  --font: 'Outfit', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }
svg { display: block; }
::selection { background: var(--secondary); color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--white); }

/* ---------- Icons ---------- */
.icon { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border-radius: 50px; font-family: var(--font);
  font-size: 1rem; font-weight: 600; cursor: pointer; border: none;
  transition: var(--transition); line-height: 1.2; white-space: nowrap;
}
.btn .icon { font-size: .9em; transition: transform var(--transition); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--secondary); color: #fff; }
.btn-primary:hover { background: var(--secondary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .55); }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.btn-light:hover { background: #f2f2ef; }
.btn-sm { padding: 10px 22px; font-size: .88rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, .98);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 12px 0; box-shadow: 0 2px 30px rgba(18, 24, 30, .1);
  transition: all .4s ease;
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 30px rgba(18, 24, 30, .15); }
.nav-container { display: flex; align-items: center; gap: 26px; }
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav-logo-img { display: block; height: 36px; width: auto; max-width: 280px; object-fit: contain; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(18, 24, 30, .12);
}
.logo-mark svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.logo-text { display: flex; flex-direction: column; line-height: 1; color: var(--primary); font-size: 1.34rem; font-weight: 900; letter-spacing: 1.5px; }
.logo-text small { font-size: .5rem; font-weight: 700; letter-spacing: 4.6px; color: var(--secondary); margin-top: 5px; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  padding: 8px 14px; font-size: .88rem; font-weight: 600; color: var(--primary);
  border-radius: 8px; transition: var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--secondary); }
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--secondary); border-radius: 2px;
  transition: width var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: 55%; }
.nav-cta { font-size: .88rem; font-weight: 600; padding: 11px 24px; flex-shrink: 0; }
.hamburger {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; padding: 10px; margin-left: auto;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; margin: 5px 0; transition: var(--transition); }

/* Mobile drawer */
.mob-menu {
  position: fixed; inset: 0; z-index: 2000; background: var(--primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.mob-menu.open { opacity: 1; visibility: visible; }
.mob-menu .mob-link { color: #fff; font-size: 1.15rem; font-weight: 600; padding: 13px 18px; transition: var(--transition); }
.mob-menu .mob-link:hover { color: var(--secondary); }
.mob-menu .btn { margin-top: 22px; }
.mob-close {
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px;
  background: rgba(255, 255, 255, .1); border: none; border-radius: 50%;
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mob-close .icon { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding-top: 76px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.hero-content {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 500px);
  gap: 56px; align-items: center; padding: 64px 0;
}
.hero-copy { position: relative; }
.hero-badge {
  display: inline-block; color: var(--secondary); font-size: .78rem; font-weight: 800;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2rem, 3.9vw, 3.05rem); font-weight: 900; color: var(--primary);
  line-height: 1.08; letter-spacing: -.015em; margin-bottom: 20px;
}
.hero-title .highlight { color: var(--secondary); }
.hero-desc { font-size: 1.04rem; color: var(--gray); line-height: 1.7; margin-bottom: 26px; max-width: 520px; }
.hero-desc strong { color: var(--dark); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 30px; margin-top: 30px; padding-top: 20px;
  border-top: 1px solid var(--border); flex-wrap: wrap; align-items: flex-end;
}
.hero-stat-item { position: relative; flex: 0 0 auto; }
.hero-stat-item .number { font-size: 1.5rem; font-weight: 900; color: var(--primary); line-height: 1; white-space: nowrap; }
.hero-stat-item .number .unit { font-size: .5em; font-weight: 800; letter-spacing: .5px; opacity: .85; margin-left: 4px; text-transform: uppercase; }
.hero-stat-item .label { font-size: .74rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; margin-top: 7px; font-weight: 500; white-space: nowrap; }
.hero-stat-item.primary .number { font-size: 1.85rem; color: var(--secondary); }
.hero-stat-item.primary .label { color: var(--primary); font-weight: 700; }
.hero-stat-item.primary::after { content: ''; position: absolute; top: 4px; right: -15px; bottom: 4px; width: 1px; background: var(--border); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-image-frame { position: relative; width: 100%; max-width: 560px; }
.hero-image-main {
  width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden;
  position: relative; isolation: isolate; background: #e9e7e2;
  border: 1px solid var(--border);
}
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; transition: opacity .9s ease-in-out; }
.hero-slide.active { opacity: 1; z-index: 2; }
/* ---------- Section headings ---------- */
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-label {
  display: inline-block; color: var(--secondary); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .32em; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--primary);
  line-height: 1.15; margin-bottom: 14px;
}
.section-title span { color: var(--secondary); }
.section-subtitle { font-size: 1rem; color: var(--gray); max-width: 580px; line-height: 1.75; }
.section-header.center .section-subtitle { margin: 0 auto; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head-row .section-header { margin-bottom: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.about-media-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media-sub {
  position: absolute; right: -18px; bottom: -26px; width: 46%; aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow-lg);
}
.about-media-sub img { width: 100%; height: 100%; object-fit: cover; }
.about-years {
  position: absolute; top: 22px; left: -16px; background: var(--secondary); color: #fff;
  border-radius: var(--radius); padding: 16px 20px; text-align: center; box-shadow: var(--shadow-md);
}
.about-years .n { font-size: 2rem; font-weight: 900; line-height: 1; }
.about-years .t { font-size: .64rem; text-transform: uppercase; letter-spacing: 1.6px; margin-top: 5px; opacity: .95; }
.about-copy p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; font-size: .98rem; }
.about-copy p strong { color: var(--primary); font-weight: 700; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon {
  width: 42px; height: 42px; border-radius: 11px; background: rgba(180, 83, 9, .1);
  color: var(--secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon .icon { width: 20px; height: 20px; }
.feature-item h3 { font-size: .92rem; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.feature-item p { font-size: .8rem; color: var(--gray); line-height: 1.5; margin: 0; }

/* ---------- Solutions ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.solution-card {
  position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); transition: var(--transition);
}
.solution-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.solution-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 28, 33, 0) 30%, rgba(23, 28, 33, .35) 55%, rgba(23, 28, 33, .92) 100%);
}
.solution-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 20px; color: #fff; }
.solution-body .num { font-size: .66rem; font-weight: 800; letter-spacing: 2px; color: var(--secondary); text-transform: uppercase; }
.solution-body h3 { font-size: 1.06rem; font-weight: 800; line-height: 1.25; margin: 6px 0 7px; }
.solution-body p { font-size: .78rem; color: rgba(255, 255, 255, .7); line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: var(--transition); }
.solution-card:hover { box-shadow: var(--shadow-md); }
.solution-card:hover .solution-body p { max-height: 70px; opacity: 1; }
.solution-arrow {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center; color: #fff;
  opacity: 0; transform: translateY(6px); transition: var(--transition);
}
.solution-card:hover .solution-arrow { opacity: 1; transform: none; background: var(--secondary); border-color: var(--secondary); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column; cursor: pointer; text-align: left;
  box-shadow: var(--shadow-sm);
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-light); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e9ec; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(23, 28, 33, .82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 50px;
}
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-model { font-size: .68rem; font-weight: 800; color: var(--secondary); letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 6px; }
.product-name { font-size: 1.04rem; font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 7px; }
.product-desc { font-size: .82rem; color: var(--gray); line-height: 1.6; flex: 1; }
.product-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--secondary); font-size: .8rem; font-weight: 700; }
.product-link .icon { width: 14px; height: 14px; transition: transform var(--transition); }
.product-card:hover .product-link .icon { transform: translateX(4px); }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.proj-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 28, 33, 0) 35%, rgba(23, 28, 33, .82) 100%); }
.proj-body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; color: #fff; }
.proj-body .cat { font-size: .66rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--secondary); }
.proj-body h3 { font-size: 1.12rem; font-weight: 800; margin-top: 6px; line-height: 1.3; }
.proj-body p { font-size: .8rem; color: rgba(255, 255, 255, .7); margin-top: 5px; }
.proj-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 38px; height: 38px;
  border-radius: 50%; background: var(--secondary); color: #fff; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: var(--transition);
}
.proj-card:hover .proj-arrow { opacity: 1; transform: none; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--primary); padding: 56px 0; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; }
.stat-num { font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 9px; }
.stat-num span { color: var(--secondary); }
.stat-lbl { font-size: .76rem; color: rgba(255, 255, 255, .58); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 500; }

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: var(--transition); box-shadow: var(--shadow-sm);
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-light); }
.value-ico {
  width: 50px; height: 50px; border-radius: 13px; background: rgba(180, 83, 9, .1);
  color: var(--secondary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.value-ico .icon { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.02rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.value-card p { font-size: .84rem; color: var(--gray); line-height: 1.65; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.news-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-light); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9ec; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .7rem; color: var(--gray); margin-bottom: 10px; }
.news-meta .cat { color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.news-body h3 { font-size: 1.02rem; font-weight: 800; color: var(--primary); line-height: 1.4; margin-bottom: 8px; }
.news-body p { font-size: .83rem; color: var(--gray); line-height: 1.65; flex: 1; }
.news-rm { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; color: var(--secondary); font-size: .8rem; font-weight: 700; }
.news-rm .icon { width: 14px; height: 14px; transition: transform var(--transition); }
.news-card:hover .news-rm .icon { transform: translateX(4px); }

/* ---------- Homepage news (feature + brief list) ---------- */
.home-news { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.home-news-feature { display: block; }
.hnf-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: #e9e7e2; border: 1px solid var(--border); }
.hnf-img img { width: 100%; height: 100%; object-fit: cover; }
.hnf-body { padding-top: 18px; }
.hnf-body h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 8px; transition: var(--transition); }
.hnf-body p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
.home-news-feature:hover h3, .news-brief:hover h3 { color: var(--secondary); }
.news-brief-list { display: flex; flex-direction: column; }
.news-brief { display: grid; grid-template-columns: 104px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-top: 1px solid var(--border); }
.news-brief:first-child { border-top: 0; padding-top: 0; }
.news-brief-img { width: 104px; height: 104px; border-radius: var(--radius); overflow: hidden; background: #e9e7e2; }
.news-brief-img img { width: 100%; height: 100%; object-fit: cover; }
.news-brief h3 { font-size: 1rem; font-weight: 800; color: var(--primary); line-height: 1.35; margin-bottom: 6px; transition: var(--transition); }
.news-brief p { font-size: .82rem; color: var(--gray); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-brief .news-meta { margin-bottom: 7px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: .98rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 52px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.contact-card .feature-icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-card h3 { font-size: .8rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .95rem; font-weight: 600; color: var(--primary); line-height: 1.5; }
.contact-card a:hover { color: var(--secondary); }
.contact-card small { display: block; font-size: .76rem; font-weight: 400; color: var(--gray-light); margin-top: 3px; }
.contact-card .contact-wechat { -webkit-user-select: all; user-select: all; cursor: copy; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-header { margin-bottom: 26px; }
.form-label {
  display: inline-block; background: rgba(180, 83, 9, .1); color: var(--secondary);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.form-header h2 { font-size: 1.55rem; font-weight: 800; color: var(--primary); margin-bottom: 7px; }
.form-header p { font-size: .86rem; color: var(--gray); line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--primary); }
.form-group label .req { color: var(--secondary); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font); font-size: .9rem; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: var(--radius); background: var(--bg); color: var(--dark);
  transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--secondary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .74rem; color: var(--gray-light); text-align: center; margin-top: 12px; line-height: 1.5; }
.form-status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius); font-size: .86rem; font-weight: 600; }
.form-status.ok { display: block; background: rgba(16, 185, 129, .1); color: #059669; }
.form-status.err { display: block; background: rgba(239, 68, 68, .1); color: #dc2626; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 24px; font-weight: 700; color: var(--primary);
  font-size: .98rem; display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--secondary); font-weight: 800; font-size: 1.4rem; line-height: 1; flex-shrink: 0; transition: .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; color: #4b5563; line-height: 1.75; font-size: .92rem; }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: #fff; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 44px; }
.footer-brand p { font-size: .86rem; color: rgba(255, 255, 255, .55); line-height: 1.8; margin: 18px 0 0; max-width: 340px; }
.footer-logo { display: flex; align-items: center; gap: 11px; }
.footer-logo-img { display: block; height: 34px; width: auto; max-width: 280px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-text small { color: var(--secondary); }
.footer-col h4 { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--secondary); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .86rem; color: rgba(255, 255, 255, .58); display: flex; align-items: center; gap: 7px; transition: var(--transition); }
.footer-links a::before { content: '›'; color: var(--secondary); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: rgba(255, 255, 255, .62); line-height: 1.6; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--secondary); margin-top: 2px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255, 255, 255, .5); }
.footer-bottom .footer-icp { color: rgba(255, 255, 255, .5); text-decoration: none; margin-left: 10px; transition: var(--transition); }
.footer-bottom .footer-icp:hover { color: #fff; }
.footer-bot-links { display: flex; gap: 20px; }
.footer-bot-links a { font-size: .78rem; color: rgba(255, 255, 255, .55); transition: var(--transition); }
.footer-bot-links a:hover { color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 140px 0 64px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: var(--gray-light); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; color: var(--primary); line-height: 1.08; letter-spacing: -.015em; }
.page-hero h1 span { color: var(--secondary); }
.page-hero .page-lead { color: var(--gray); font-size: 1.04rem; max-width: 660px; margin-top: 16px; line-height: 1.7; }
.page-hero .hero-stats { max-width: 760px; margin-top: 34px; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px; border-radius: 50px; border: 2px solid var(--border); background: #fff;
  font-weight: 600; font-size: .86rem; color: var(--primary); cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-btn.active { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.filter-empty { text-align: center; color: var(--gray); padding: 50px 0; grid-column: 1 / -1; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(23, 28, 33, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 900px; max-height: 90vh;
  overflow: auto; display: grid; grid-template-columns: 1fr 1fr; position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); transform: translateY(16px); transition: transform .3s ease;
}
.modal.open .modal-box { transform: none; }
.modal-img { background: #e9e9ec; min-height: 320px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 38px 36px; }
.modal-body .product-model { font-size: .7rem; }
.modal-body h2 { font-size: 1.6rem; font-weight: 900; color: var(--primary); line-height: 1.2; margin: 4px 0 12px; }
.modal-body > p { font-size: .9rem; color: var(--gray); line-height: 1.7; margin-bottom: 22px; }
.spec-title { font-size: .7rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; }
.spec-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .86rem; }
.spec-list dt { color: var(--gray); }
.spec-list dd { color: var(--primary); font-weight: 700; text-align: right; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(255, 255, 255, .95); color: var(--primary);
  cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.modal-close:hover { background: var(--secondary); color: #fff; transform: rotate(90deg); }
.modal-cta { margin-top: 24px; }

/* ---------- About page ---------- */
.profile-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.profile-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.profile-media img { width: 100%; height: 100%; object-fit: cover; }
.profile-copy p { color: var(--gray); line-height: 1.85; margin-bottom: 16px; font-size: .98rem; }
.profile-copy p strong { color: var(--primary); }
.profile-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.profile-point { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--primary); }
.profile-point .icon { color: var(--secondary); width: 18px; height: 18px; }

/* Timeline */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 10px 0; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(180deg, transparent, var(--border) 8%, var(--border) 92%, transparent); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 42px 38px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 38px 42px; }
.tl-item::after {
  content: ''; position: absolute; top: 6px; right: -7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--secondary); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(180, 83, 9, .25);
}
.tl-item:nth-child(even)::after { right: auto; left: -7px; }
.tl-year { display: inline-block; font-size: 1.35rem; font-weight: 900; color: var(--secondary); line-height: 1; margin-bottom: 8px; }
.tl-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.tl-card h3 { font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.tl-card p { font-size: .85rem; color: var(--gray); line-height: 1.65; }

/* Certification */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-contact-line { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.about-contact-line span { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .86rem; color: var(--gray); line-height: 1.6; }
.about-contact-line .icon { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; margin-top: 3px; }
.about-contact-line a:hover { color: var(--secondary); }
.cert-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.cert-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-light); }
.cert-year { display: inline-block; background: rgba(180, 83, 9, .1); color: var(--secondary); font-size: .78rem; font-weight: 800; letter-spacing: 1px; padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.cert-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(18, 24, 30, .06); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.cert-icon .icon { width: 24px; height: 24px; }
.cert-card h3 { font-size: .92rem; font-weight: 700; color: var(--primary); line-height: 1.45; }

/* ---------- News page ---------- */
.news-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-list-grid .news-img { aspect-ratio: 16 / 8; }

/* ---------- Contact page ---------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); height: 340px; background: #e5e7eb; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25); }
.social-row { display: flex; gap: 10px; margin-top: 8px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--primary); transition: var(--transition);
}
.social-row a:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.social-row .icon { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-menu { display: none; }
  .hamburger { display: block; }
  .nav-cta { margin-left: auto; }
  .hero-content { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 560px; }
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-card { aspect-ratio: 4 / 5; }
}
@media (max-width: 1000px) {
  .home-news { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-copy { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .nav-logo-img { height: 30px; max-width: 230px; }
  .nav-cta { display: none; }
  .hero-content { padding: 64px 0 24px; }
  .hero-stats { gap: 18px 24px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .news-grid, .news-list-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 30px 34px; }
  .tl-item::after, .tl-item:nth-child(even)::after { left: 1px; right: auto; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img { min-height: 220px; max-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 130px 0 58px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .product-grid { grid-template-columns: 1fr; }
  .news-brief { grid-template-columns: 88px 1fr; gap: 14px; }
  .news-brief-img { width: 88px; height: 88px; }
  .solution-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .solution-body { padding: 15px; }
  .solution-body h3 { font-size: .92rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .stat-num { font-size: 2rem; }
  .value-grid, .cert-grid, .profile-points, .about-features { grid-template-columns: 1fr 1fr; }
  .news-body h3 { font-size: .96rem; }
  .hero-stat-item.primary::after { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .value-grid, .cert-grid, .about-features { grid-template-columns: 1fr; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Product detail ---------- */
.product-detail-section { padding-top: 140px; }
.product-detail-section .breadcrumb { margin-bottom: 30px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.detail-media {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; position: sticky; top: 110px;
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-viewport { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.gallery-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.gallery-slide { flex: 0 0 100%; height: 100%; }
.gallery-slide img, .gallery-fallback img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-fallback { position: absolute; inset: 0; display: none; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--primary);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow-md); transition: background .2s, opacity .2s;
}
.gallery-nav:hover { background: #fff; }
.gallery-nav .icon { width: 18px; height: 18px; }
.gallery-prev { left: 14px; }
.gallery-prev .icon { transform: rotate(180deg); }
.gallery-next { right: 14px; }
.gallery-thumbs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 8px;
  padding: 10px 12px; overflow-x: auto; scrollbar-width: none;
  background: linear-gradient(0deg, rgba(17, 24, 39, .55), rgba(17, 24, 39, 0));
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 auto; width: 58px; height: 58px; padding: 0; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; border-radius: 6px; background: #fff; opacity: .65;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--secondary); }
#productGallery.is-single .gallery-nav, #productGallery.is-single .gallery-thumbs { display: none; }
.detail-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; color: var(--primary); line-height: 1.15; letter-spacing: -.01em; margin: 6px 0 4px; }
.detail-copy .product-model { margin-bottom: 14px; }
.detail-copy .section-label { font-size: .9rem; font-weight: 800; letter-spacing: .18em; margin-bottom: 10px; }
.detail-copy .product-model { font-size: .9rem; letter-spacing: 1.2px; }
.detail-lead { font-size: 1rem; color: var(--gray); line-height: 1.8; margin-bottom: 22px; }
.detail-content { border-top: 1px solid var(--border); padding-top: 22px; margin-bottom: 26px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Rich text (CMS body) ---------- */
.rich-text { color: #4b5563; line-height: 1.85; font-size: .95rem; word-wrap: break-word; }
.rich-text > :first-child { margin-top: 0; }
.rich-text p { margin-bottom: 14px; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: var(--primary); font-weight: 800; line-height: 1.3; margin: 26px 0 10px; }
.rich-text h2 { font-size: 1.4rem; }
.rich-text h3 { font-size: 1.15rem; }
.rich-text h4 { font-size: 1rem; }
.rich-text ul, .rich-text ol { margin: 0 0 16px 22px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 6px; }
.rich-text strong { color: var(--primary); }
.rich-text img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 18px 0; }
.rich-text a { color: var(--secondary); text-decoration: underline; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .86rem; }
.rich-text th, .rich-text td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.rich-text th { background: var(--bg); color: var(--primary); font-weight: 700; }
.rich-text blockquote { border-left: 3px solid var(--secondary); padding: 4px 0 4px 18px; margin: 18px 0; color: var(--gray); }

/* Product spec table generated from content */
.spec-table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .88rem; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--border); padding: 10px 4px; text-align: left; }
.spec-table th { color: var(--gray); font-weight: 500; width: 45%; }
.spec-table td { color: var(--primary); font-weight: 700; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--border); }

/* ---------- Article (news / project detail) ---------- */
.article-wrap { max-width: 900px; margin: 0 auto; }
.article-media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow-md); background: #e9e9ec; }
.article-media img { width: 100%; max-height: 520px; object-fit: cover; }
.article-body { font-size: 1rem; }
.article-footer { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 26px; }
.page-hero .news-meta { margin-bottom: 12px; }
.page-hero .news-meta .cat { font-size: .72rem; }

/* ---------- Contact intro ---------- */
.contact-intro { font-size: .86rem; color: var(--gray); line-height: 1.7; }
.contact-intro p { margin-bottom: 0; }
.contact-intro h2, .contact-intro h3 { color: var(--primary); font-size: 1rem; margin-bottom: 6px; }

/* ---------- Pagination (PBootCMS pagebar) ---------- */
.pagination-wrap { display: flex; justify-content: center; margin-top: 48px; }
.pagination-wrap > span {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
}
.pagination-wrap .page-status { display: none; }
.pagination-wrap a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 13px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--primary);
  font-size: .86rem; font-weight: 600; transition: var(--transition);
}
.pagination-wrap a:hover { border-color: var(--secondary); color: var(--secondary); }
.pagination-wrap a[href="javascript:;"] { opacity: .38; pointer-events: none; }
.pagination-wrap .page-num-current { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.pagination-wrap .page-index a, .pagination-wrap .page-pre a,
.pagination-wrap .page-next a, .pagination-wrap .page-last a { font-size: 0; padding: 0; width: 42px; }
.pagination-wrap .page-index a::after { content: '«'; font-size: 1.05rem; line-height: 1; }
.pagination-wrap .page-pre a::after { content: '‹'; font-size: 1.3rem; line-height: 1; }
.pagination-wrap .page-next a::after { content: '›'; font-size: 1.3rem; line-height: 1; }
.pagination-wrap .page-last a::after { content: '»'; font-size: 1.05rem; line-height: 1; }
.pagination-wrap .page-num:not(.page-num-current) { border-color: var(--border); background: #fff; }
.pagination-wrap .page-numbar { gap: 6px; }
.pagination-wrap .page-none { font-size: 0; color: var(--gray) !important; }
.pagination-wrap .page-none::after { content: 'No results found yet.'; font-size: .92rem; }

/* ---------- Detail / article responsive ---------- */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-media { position: relative; top: auto; }
  .detail-media.reveal, .detail-copy.reveal { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .product-detail-section { padding-top: 116px; }
  .gallery-nav { width: 34px; height: 34px; }
  .gallery-nav .icon { width: 16px; height: 16px; }
  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }
  .gallery-thumb { width: 46px; height: 46px; }
  .article-footer { flex-direction: column; align-items: stretch; }
  .article-footer .btn { width: 100%; }
  .detail-actions .btn { flex: 1 1 100%; }
  .pagination-wrap a { min-width: 38px; height: 38px; padding: 0 10px; }
}
.form-status.pending { display: block; background: rgba(35, 42, 49, .06); color: var(--primary); }

/* ---------- Downloads ---------- */
.downloads-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.downloads-bar .section-title { margin-bottom: 0; }
.downloads-note { max-width: 420px; font-size: .92rem; color: var(--gray); line-height: 1.7; }
.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.download-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-light); }
.download-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #111820; }
.download-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.download-card:hover .download-cover img { transform: scale(1.03); }
.download-cover-icon { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); color: rgba(255, 255, 255, .3); }
.download-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--secondary); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: 1.5px; padding: 5px 10px; border-radius: 4px;
}
.download-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.download-meta { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--gray-light); margin-bottom: 9px; }
.download-meta > span + span::before { content: '·'; margin-right: 10px; color: var(--border); }
.download-body h3 { font-size: 1.03rem; font-weight: 800; color: var(--primary); line-height: 1.4; margin-bottom: 8px; }
.download-body h3 a:hover { color: var(--secondary); }
.download-body p { font-size: .84rem; color: var(--gray); line-height: 1.65; }
.download-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.download-subtitle { font-size: .72rem; font-weight: 600; color: var(--gray-light); letter-spacing: .3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.download-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 8px 14px;
  border-radius: 50px; background: var(--primary); color: #fff; font-size: .76rem; font-weight: 700; transition: var(--transition);
}
.download-btn:hover { background: var(--secondary); }
.download-btn .icon { width: 13px; height: 13px; }
.download-hero { padding-bottom: 56px; }
.download-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.download-hero-copy .section-label { margin-bottom: 12px; }
.download-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 24px 0 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.download-facts span { font-size: .82rem; color: var(--gray); }
.download-facts strong { display: block; font-size: .66rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--secondary); margin-bottom: 3px; }
.download-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.download-hero-cover {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); aspect-ratio: 4 / 3; background: #111820;
}
.download-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.download-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.download-aside {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); position: sticky; top: 110px;
}
.download-aside h2 { font-size: 1.2rem; font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 10px; }
.download-aside p { font-size: .86rem; color: var(--gray); line-height: 1.7; margin-bottom: 18px; }

@media (max-width: 1000px) {
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
  .download-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .download-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .download-aside { position: static; }
}
@media (max-width: 768px) {
  .downloads-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .downloads-note { max-width: none; }
}
@media (max-width: 560px) {
  .downloads-grid { grid-template-columns: 1fr; }
  .download-hero-actions .btn { width: 100%; }
}
