/* =====================================================
   山东德瑞工贸 - 电动三四轮车官网
   Color system / Typography / Components
   ===================================================== */

:root {
  --brand: #1a8a4a;
  --brand-dark: #0f6e3a;
  --brand-light: #2bb673;
  --accent: #00d4ff;
  --accent-2: #ffb547;
  --ink: #0e1a18;
  --ink-2: #2a3a36;
  --muted: #6b7d79;
  --line: #e6efeb;
  --bg: #ffffff;
  --bg-alt: #f5f9f8;
  --bg-deep: #0a1f1c;
  --shadow-sm: 0 2px 6px rgba(15, 110, 58, .08);
  --shadow-md: 0 8px 24px rgba(15, 110, 58, .12);
  --shadow-lg: 0 18px 50px rgba(15, 110, 58, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --t: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue",
    Arial, "Hiragino Sans GB", "Heiti SC", sans-serif;
  font-size: 16px; line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: #fff; }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-label {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
  padding: 4px 14px; border-radius: 999px;
  background: rgba(26, 138, 74, .08);
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.25; margin-bottom: 16px;
}
.section-desc {
  font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); }
.logo-img {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.logo-text { font-size: 18px; line-height: 1.1; }
.logo-text small {
  display: block; font-size: 11px; font-weight: 500;
  color: var(--muted); letter-spacing: .5px; margin-top: 2px;
}
.nav { display: flex; gap: 8px; }
.nav a {
  position: relative; padding: 8px 16px; border-radius: 8px;
  font-weight: 500; color: var(--ink-2); transition: all var(--t);
}
.nav a:hover { color: var(--brand); background: rgba(26, 138, 74, .06); }
.nav a.active { color: var(--brand); background: rgba(26, 138, 74, .08); }
.lang-switcher {
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--bg-alt); border-radius: 999px;
  margin-left: 12px;
}
.lang-switcher a {
  padding: 4px 12px; font-size: 13px; font-weight: 600;
  border-radius: 999px; color: var(--muted); transition: all var(--t);
}
.lang-switcher a.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-alt);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: var(--ink); transition: all var(--t);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
      radial-gradient(1200px 600px at 20% -10%, rgba(0, 212, 255, .15), transparent 60%),
      radial-gradient(900px 600px at 110% 30%, rgba(26, 138, 74, .25), transparent 60%),
      linear-gradient(180deg, #f5fbf8 0%, #ffffff 60%);
  padding: 96px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 138, 74, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 138, 74, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(26, 138, 74, .1); color: var(--brand-dark);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(26, 138, 74, .2);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900; line-height: 1.1; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal; color: var(--brand);
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  font-size: 18px; color: var(--ink-2); margin-bottom: 36px; max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 480px; }
.hero-visual-card {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.6), transparent 60%),
    linear-gradient(135deg, #0f6e3a, #1a8a4a 50%, #2bb673);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid; place-items: center;
}
.hero-visual-card svg { width: 80%; height: auto; filter: drop-shadow(0 12px 28px rgba(0,0,0,.3)); }
.hero-visual-card img {
  width: 100%; height: 100%;
  object-fit: contain;          /* full vehicle visible in the hero */
  padding: 18px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.28));
}
.hero-stat {
  position: absolute; background: #fff; padding: 16px 20px;
  border-radius: 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.hero-stat .num { font-size: 24px; font-weight: 800; color: var(--brand); line-height: 1; }
.hero-stat .lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hero-stat.s1 { top: 30px; left: -16px; animation: float 4s ease-in-out infinite; }
.hero-stat.s2 { bottom: 60px; right: -10px; animation: float 4s ease-in-out infinite reverse; }
.hero-stat.s3 { bottom: 20px; left: 30px; animation: float 4.5s ease-in-out infinite .5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: all var(--t); cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 16px rgba(26, 138, 74, .3);
}
.btn-primary:hover {
  background: var(--brand-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 138, 74, .4);
}
.btn-outline {
  background: #fff; color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--brand); color: var(--brand);
  transform: translateY(-2px);
}
.btn-ghost { color: var(--brand); padding: 8px 16px; }
.btn-ghost:hover { background: rgba(26, 138, 74, .08); }

/* ---------- Features ---------- */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: all var(--t); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 138, 74, .12), rgba(0, 212, 255, .12));
  display: grid; place-items: center; font-size: 26px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Products ---------- */
.product-tabs {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 40px;
}
.product-tab {
  padding: 10px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink-2); font-weight: 600; font-size: 14px;
  transition: all var(--t);
}
.product-tab:hover { border-color: var(--brand); color: var(--brand); }
.product-tab.active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 6px 16px rgba(26, 138, 74, .25);
}

.products-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--t); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.product-img {
  height: 220px; background: linear-gradient(135deg, #e8f5ee 0%, #f0fafa 100%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.product-img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 138, 74, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 138, 74, .06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.product-img svg { width: 80%; height: 80%; position: relative; z-index: 1; }
.product-img img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;          /* show the WHOLE vehicle, never crop it */
  padding: 12px;
  display: block;
}
.product-img-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 56px; color: var(--brand); opacity: .6;
}
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 6px;
}
.product-body h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag {
  padding: 3px 10px; border-radius: 999px;
  background: var(--bg-alt); color: var(--ink-2);
  font-size: 12px; font-weight: 500;
}
.product-spec { display: flex; gap: 16px; margin: 12px 0; flex-wrap: wrap; }
.product-spec span {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
}
.product-spec strong { color: var(--ink); font-weight: 700; }
.product-link {
  align-self: flex-start; font-weight: 600; color: var(--brand);
  font-size: 14px; transition: all var(--t);
}
.product-link:hover { gap: 10px; color: var(--brand-dark); }

/* ---------- Product Lineup (homepage gallery) ---------- */
.line-cluster { margin-top: 48px; }
.line-cluster:first-of-type { margin-top: 32px; }
.line-cluster-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 4px;
}
.line-cluster-head h3 {
  font-size: 22px; font-weight: 700; color: var(--ink); margin: 0;
}
.line-cluster-sub {
  color: var(--muted); font-size: 14px; margin-bottom: 20px;
}
.product-card { text-decoration: none; color: inherit; display: flex; }
.product-card:hover h3 { color: var(--brand); }

@media (max-width: 768px) {
  .line-cluster-head h3 { font-size: 18px; }
  .products-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-img {
  height: 420px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: grid; place-items: center; color: #fff; font-size: 96px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-img img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}
.about-img--fit img { object-fit: contain; padding: 18px; }
.about-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,.2), transparent 50%);
}

/* ---------- Showcase band (real photo strip) ---------- */
.showcase-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #0e1a18;
}
.showcase-band img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.showcase-band .band-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 32px 24px;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
  color: #fff;
}
.showcase-band .band-cap h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.showcase-band .band-cap p { font-size: 14px; opacity: .88; margin: 0; }

.mini-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px;
}
.mini-gallery figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: all var(--t);
}
.mini-gallery figure:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.mini-gallery img {
  display: block; width: 100%; height: 150px; object-fit: contain; padding: 10px;
  background: linear-gradient(135deg, #e8f5ee 0%, #f0fafa 100%);
}
.mini-gallery figcaption {
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--line); text-align: center;
}
.about-content .section-label { margin-bottom: 12px; }
.about-content h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  margin-bottom: 20px; line-height: 1.25;
}
.about-content p { color: var(--ink-2); margin-bottom: 16px; font-size: 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-item .stat-number {
  font-size: 36px; font-weight: 900; color: var(--brand);
  line-height: 1; letter-spacing: -.02em;
}
.stat-item .stat-label { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Capabilities ---------- */
.caps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cap-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--line);
  transition: all var(--t);
}
.cap-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cap-card h4 { color: var(--ink); margin-bottom: 8px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.cap-card h4 span { color: var(--brand); font-size: 22px; }
.cap-card p { color: var(--muted); font-size: 14px; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 60%, var(--brand-light) 100%);
  color: #fff; padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 10% 90%, rgba(0, 212, 255, .25), transparent),
    radial-gradient(800px 400px at 90% 10%, rgba(255,255,255,.15), transparent);
}
.cta-section .container { position: relative; }
.cta-section h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 17px; opacity: .9; max-width: 560px; margin: 0 auto 28px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--line); transform: translateX(-50%);
}
.timeline-item {
  position: relative; padding: 18px 0;
  display: grid; grid-template-columns: 1fr 60px 1fr;
  align-items: center;
}
.timeline-item .year {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 13px;
  z-index: 1;
}
.timeline-item .content {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px;
}
.timeline-item:nth-child(odd) .content { grid-column: 1; margin-right: 30px; }
.timeline-item:nth-child(even) .content { grid-column: 3; margin-left: 30px; }
.timeline-item .content h4 { color: var(--ink); margin-bottom: 4px; }
.timeline-item .content p { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(26, 138, 74, .12), rgba(0, 212, 255, .12));
  display: grid; place-items: center; font-size: 22px;
}
.contact-info-card h4 { color: var(--ink); margin-bottom: 4px; font-size: 16px; }
.contact-info-card p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-info-card a { color: var(--brand); font-weight: 600; }

.contact-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.contact-form .sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; color: var(--ink); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff;
  transition: all var(--t);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26, 138, 74, .12);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.row-2 > div { display: flex; flex-direction: column; }
.form-status {
  padding: 12px 16px; border-radius: 10px; margin-top: 16px;
  background: rgba(26, 138, 74, .1); color: var(--brand-dark);
  font-size: 14px; display: none;
}
.form-status.show { display: block; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-deep); color: #c8d4cf;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand p { margin-top: 16px; color: #8da39d; font-size: 14px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .5px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: #c8d4cf; font-size: 14px; transition: color var(--t); }
.footer a:hover { color: var(--brand-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; text-align: center;
  color: #8da39d; font-size: 13px;
}

/* ---------- Scroll top ---------- */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: all var(--t); z-index: 40;
  font-size: 20px;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--brand-dark); transform: translateY(-4px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(26, 138, 74, .15), transparent 60%),
    linear-gradient(180deg, #f5fbf8 0%, #ffffff 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; margin-bottom: 12px;
}
.page-hero .breadcrumb {
  font-size: 14px; color: var(--muted);
}
.page-hero .breadcrumb a { color: var(--brand); font-weight: 500; }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--t), transform .8s var(--t);
}
.fade-up.show { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 30px; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline-item .year { left: 30px; }
  .timeline-item:nth-child(odd) .content,
  .timeline-item:nth-child(even) .content {
    grid-column: 2; margin: 0 0 0 30px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav, .lang-switcher { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .lang-switcher.open { display: flex; position: absolute; top: 220px; left: 24px; }
  .hero h1 { font-size: 36px; }
  .hero-stat.s1 { left: 10px; }
  .hero-stat.s2 { right: 10px; }
  .form-row.row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
}

/* ---------- Reveal animation helper ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: all .7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* =====================================================
   Product detail page
   ===================================================== */
.page-hero--slim { padding: 52px 0 40px; }
.page-hero--slim .product-cat { margin-bottom: 10px; }
.page-hero--slim .section-desc { max-width: 720px; margin-left: auto; margin-right: auto; }

.detail-section { padding-top: 56px; }
.detail-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.detail-media { position: sticky; top: 96px; }
.detail-main {
  height: 420px; background: linear-gradient(135deg, #e8f5ee 0%, #f0fafa 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; place-items: center; position: relative;
}
.detail-main::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26, 138, 74, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 138, 74, .06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.detail-main img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: contain; padding: 22px; transition: opacity .16s ease;
}
.detail-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
  width: 96px; height: 76px; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--line); background: #fff; padding: 0; transition: all var(--t);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.thumb:hover { border-color: var(--brand); }
.thumb.active { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.detail-caption { font-size: 13px; color: var(--muted); margin-top: 10px; }

.detail-info { padding-top: 2px; }
.detail-keyspec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ks { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; }
.ks-lbl { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ks-val { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.detail-cta { display: flex; gap: 14px; margin: 26px 0 22px; flex-wrap: wrap; }
.detail-points { list-style: none; display: grid; gap: 9px; }
.detail-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.detail-points li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }

.spec-wrap { max-width: 880px; margin: 0 auto; }
.spec-group { font-size: 17px; color: var(--ink); margin: 28px 0 12px; }
.spec-group:first-child { margin-top: 0; }
.spec-note {
  font-size: 13.5px; color: var(--ink-2); background: rgba(255, 181, 71, .14);
  border-left: 3px solid var(--accent-2); padding: 12px 14px;
  border-radius: 0 8px 8px 0; margin-bottom: 14px; line-height: 1.7;
}
.spec-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th {
  text-align: left; padding: 13px 18px; font-weight: 600; color: var(--ink-2);
  background: var(--bg-alt); width: 46%; font-size: 14.5px;
}
.spec-table td { padding: 13px 18px; color: var(--ink); font-weight: 600; font-size: 14.5px; }

.custom-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.custom-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: all var(--t);
}
.custom-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.custom-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.custom-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

.detail-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.pager-link {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
  background: #fff; display: flex; flex-direction: column; gap: 4px; transition: all var(--t);
}
.pager-link:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.pager-dir { font-size: 12px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.pager-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.pager-next { text-align: right; }

/* catalogue card: two CTAs */
.product-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: auto; }
.product-link--alt { color: var(--muted); }
.product-link--alt:hover { color: var(--brand); }

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-media { position: static; }
  .detail-main { height: 340px; }
}
@media (max-width: 720px) {
  .detail-keyspec { grid-template-columns: 1fr; }
  .detail-pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; }
  .detail-main { height: 250px; }
  .spec-table th, .spec-table td { padding: 11px 14px; font-size: 14px; }
  .spec-table th { width: 52%; }
}
/* ---------- Catalogue price + certification (added 2026-10-30) ---------- */
.detail-price {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(26,138,74,.10), rgba(26,138,74,.03));
  border: 1px solid rgba(26,138,74,.22); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 18px;
}
.detail-price-lbl {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand);
}
.detail-price-val { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.detail-price-term { font-size: 13px; color: var(--muted); }

.tag--cert {
  background: rgba(26,138,74,.14); color: var(--brand);
  font-weight: 700; letter-spacing: .02em;
}

/* six-item navigation needs a little less air on mid-size screens */
@media (max-width: 1120px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .logo-text { font-size: 16px; }
  .nav { gap: 4px; }
}