/* GEPIN Preview - based on gepinmotor.com.tw primary.css */
:root {
  --main: #14478a;
  --sup: #2e79e0;
  --light: #bfdfff;
  --accent: #ffba00;
  --text: #333;
  --muted: #666;
  --bg: #f5f8fc;
  --white: #fff;
  --shadow: 0 8px 30px rgba(20, 71, 138, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { color: var(--sup); text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* Header */
#header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e8eef7;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.logo { flex-shrink: 0; }
.logo img { height: 48px; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav a {
  color: var(--text);
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: var(--main); background: #eef4fb; }

.main-nav a.nav-cta:hover,
.main-nav a.nav-cta.active {
  background: var(--main);
  color: #fff !important;
}

.main-nav a.lang-switch {
  margin-left: 4px;
  border: 1px solid #d5e0ee;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--main);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

/* Hero banner - image only, no text overlay */
.hero {
  width: 100%;
  overflow: hidden;
  background: #e8eef7;
}

.hero img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center center;
}

/* Hero intro - text below image */
.hero-intro {
  background: var(--bg);
  padding: 48px 0 56px;
  border-bottom: 1px solid #e0e8f2;
}

.hero-content {
  max-width: 860px;
}

.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--main);
}

.hero-content p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.85;
  color: #444;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag {
  background: #fff;
  border: 1px solid #c5d8f0;
  color: var(--main);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.btn-outline-dark {
  border: 2px solid #4a90d9;
  color: #fff !important;
  background: #4a90d9;
}

.btn-outline-dark:hover {
  background: #357abd;
  border-color: #357abd;
  color: #fff !important;
}

@media (max-width: 768px) {
  .hero img {
    max-height: 240px;
  }

  .hero-intro {
    padding: 32px 0 40px;
  }
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all .3s;
  border: 2px solid transparent;
}

.btn-primary { background: #e07b39; color: #fff !important; }
.btn-primary:hover { background: #c4662a; color: #fff !important; }

.btn-outline {
  border-color: #fff;
  color: #fff !important;
  background: transparent;
}

.btn-outline:hover { background: #fff; color: var(--main) !important; }

.btn-main { background: var(--main); color: #fff !important; }
.btn-main:hover { background: var(--sup); color: #fff !important; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }

.index-tit {
  font-size: 1.8rem;
  color: var(--main);
  margin-bottom: 12px;
  text-align: center;
}

.index-tit span { color: var(--muted); font-size: .85em; font-weight: normal; }

.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 40px;
}

.content-more {
  text-align: center;
  margin-top: 32px;
}

.content-more a {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--main);
  color: var(--main) !important;
  font-weight: 600;
  letter-spacing: 1px;
}

.content-more a:hover { background: var(--main); color: #fff !important; }

/* About block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p { margin-bottom: 16px; }

.audience-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.audience-list li {
  padding: 10px 14px;
  background: #fff;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
  font-size: 14px;
}

/* Features */
.home-feature-values {
  background-color: #062963;
  background-image: url("../images/home/feature/feature-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.home-feature-values__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}

.home-feature-values__heading {
  margin: 0 auto;
  max-width: 60rem;
  text-align: center;
}

.home-feature-values__heading h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.home-feature-values__kicker {
  color: #72cfff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.home-feature-values__grid {
  display: grid;
  gap: clamp(0.5rem, 2.4vw, 2rem);
  grid-template-columns: repeat(4, minmax(0, 13.75rem));
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-feature-values__item {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.home-feature-values__item img {
  height: auto;
  width: min(100%, 13.75rem);
}

.feature-tit {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: var(--main);
}

.feature-tit span { color: var(--accent); }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.feature-item { text-align: center; }
.feature-item img { margin: 0 auto 12px; max-height: 80px; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--main);
}

.feature-card h3 {
  color: var(--main);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item {
  background: #fff;
  padding: 24px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--main);
  line-height: 1.2;
}

.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* 品牌承諾區塊 */
.promise-section {
  background: #f8fafd;
  border-top: 1px solid #e0e8f2;
  border-bottom: 1px solid #e0e8f2;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.promise-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid #e0e8f2;
  box-shadow: 0 4px 16px rgba(20,71,138,.06);
  position: relative;
  overflow: hidden;
}

.promise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--main);
}

.promise-icon {
  font-size: 2rem;
  color: var(--main);
  margin-bottom: 16px;
}

.promise-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2d42;
  margin-bottom: 12px;
}

.promise-card p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

.promise-tagline {
  text-align: center;
  font-size: 1.05rem;
  color: #555;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e8f2;
  line-height: 1.8;
}

.promise-tagline strong { color: var(--main); }

@media (max-width: 768px) {
  .promise-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(20, 71, 138, 0.1);
  display: flex;
  flex-direction: column;
  color: inherit !important;
  background: #fff;
  border: 1px solid #e6eef8;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 71, 138, 0.16);
  border-color: #c5d8f0;
  color: inherit !important;
}

.product-card:hover::before { transform: scaleX(1); }

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 28px 32px 8px;
  background:
    radial-gradient(ellipse at 50% 62%, #fff 0%, #eaf1f9 72%);
  transition: transform .4s;
}

.product-card:hover img { transform: scale(1.04); }

.product-card .overlay {
  position: static;
  background: none;
  color: inherit;
  padding: 8px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .overlay h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
  color: var(--main);
}

.product-card .overlay p {
  font-size: 0.9rem;
  opacity: 1;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.product-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  margin-left: auto;
  align-self: flex-end;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--main);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.product-card-more i { transition: transform .2s; }
.product-card:hover .product-card-more {
  background: var(--sup);
  color: #fff !important;
}
.product-card:hover .product-card-more i { transform: translateX(3px); }

.product-card--cover {
  display: block;
  border: none;
}

.product-card--cover::before { display: none; }

.product-card--cover img {
  padding: 0;
  background: #e8eef7;
  object-fit: cover;
}

.product-card--cover .overlay {
  position: absolute;
  inset: auto 0 0 0;
  flex: none;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  column-gap: 16px;
  background: linear-gradient(transparent, rgba(20, 71, 138, .92));
  color: #fff;
  padding: 48px 22px 18px;
}

.product-card--cover .overlay h3 {
  grid-column: 1;
  grid-row: 1;
  color: #fff;
  margin-bottom: 4px;
}

.product-card--cover .overlay p {
  grid-column: 1;
  grid-row: 2;
  color: rgba(255, 255, 255, .9);
}

.product-card--cover .product-card-more {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin: 0;
  background: #fff;
  color: var(--main) !important;
}

.product-card--cover:hover .product-card-more {
  background: var(--accent);
  color: #1a2a40 !important;
}

/* Product table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
  border: 1px solid #e0e8f2;
  padding: 12px 14px;
  text-align: left;
}

.data-table th {
  background: var(--main);
  color: #fff;
  font-weight: 600;
}

.data-table tr:nth-child(even) { background: #f8fafd; }

/* News */
.news-section {
  background: linear-gradient(135deg, #14478a 0%, #1a5cad 100%);
  color: #fff;
}

.news-list { margin-top: 24px; }

.news-item {
  display: grid;
  grid-template-columns: 110px 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: #fff !important;
  align-items: center;
}

.news-item:hover { color: var(--accent) !important; }

.news-date { font-size: 14px; opacity: .85; }
.news-type span {
  background: var(--accent);
  color: #333;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  background: #fff;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--accent); }
.faq-item.open .faq-q::after { content: "−"; }

.faq-a {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
  border-top: 1px solid #eef2f7;
}

.faq-item.open .faq-a { display: block; padding-top: 16px; }

/* Page header inner pages */
.page-hero {
  background: linear-gradient(135deg, #14478a, #2e79e0);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}

.page-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.page-hero p { opacity: .9; max-width: 600px; margin: 0 auto; }

/* Article */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px;
}

.article h2 {
  color: var(--main);
  margin: 32px 0 16px;
  font-size: 1.35rem;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.article h3 { margin: 24px 0 12px; color: var(--text); }
.article p, .article li { margin-bottom: 12px; color: #444; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }

.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8eef7;
}

.article-post {
  padding-top: 32px;
}

.article-crumb {
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.article-crumb a { color: var(--muted); }
.article-crumb a:hover { color: var(--main); }

.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  color: var(--main);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.35;
  margin: 12px 0 10px;
}

.article-header .article-meta {
  margin-bottom: 0;
}

.article-lead {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 12px;
}

.article-header .news-tag { margin-bottom: 0; }

.article-cover {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef7;
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-cover iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.article-body {
  min-height: 8rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.article-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  margin: 16px 0;
}

.article-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8eef7;
}

.cta-box {
  background: var(--bg);
  border-left: 4px solid var(--main);
  padding: 24px;
  margin-top: 40px;
  border-radius: 0 8px 8px 0;
}

/* 建議提示框（藍色） */
.info-box {
  background: #f0f6ff;
  border: 1px solid #a8c8f0;
  border-left: 5px solid #2a7ac4;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.info-box .info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a5c99;
  margin-bottom: 12px;
}

.info-box .info-title i {
  font-size: 1.1rem;
}

.info-box p {
  color: #1a3a5c;
  margin-bottom: 10px;
  line-height: 1.8;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box ul {
  padding-left: 20px;
  margin: 10px 0 0;
  color: #1a3a5c;
}

.info-box ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}

.info-box .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.info-box .tag {
  background: #d0e8ff;
  color: #1a5c99;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* 警告提示框 */
.warning-box {
  background: #fffbf0;
  border: 1px solid #f5c518;
  border-left: 5px solid #e6a800;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.warning-box .warning-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #b07d00;
  margin-bottom: 12px;
}

.warning-box .warning-title i {
  font-size: 1.15rem;
}

.warning-box p {
  color: #4a3800;
  margin-bottom: 10px;
  line-height: 1.8;
}

.warning-box p:last-child {
  margin-bottom: 0;
}

.warning-box ul {
  padding-left: 20px;
  margin: 10px 0 0;
  color: #4a3800;
}

.warning-box ul li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* Footer */
#footer {
  background: #1a2d42;
  color: #ccc;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-logo img { height: 48px; margin-bottom: 16px; filter: brightness(1.1); }

.footer-tit { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }

.footer-info p { margin-bottom: 10px; font-size: 14px; }
.footer-info i { color: var(--accent); width: 20px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-links a { color: #ccc !important; font-size: 14px; }

.footer-rights {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: #888;
}
.footer-rights a { color: #bbb !important; }
.footer-rights a:hover { color: #fff !important; }

.error-page {
  text-align: center;
  padding: 48px 0 24px;
}
.error-page .error-code {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--main);
  line-height: 1;
  margin-bottom: 12px;
}
.error-page h1 {
  color: var(--main);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.error-page p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
}

.float-dock {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s, background .2s, opacity .2s;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.float-btn svg {
  width: 28px;
  height: 28px;
  display: block;
}

.float-btn-line {
  background: transparent;
  padding: 0;
  overflow: hidden;
  order: 2;
  box-shadow: 0 8px 22px rgba(76, 195, 92, .4);
}

.float-btn-line img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.float-btn-line:hover {
  background: transparent;
  color: inherit !important;
}

.float-btn-top {
  background: var(--main);
  color: #fff !important;
  font-size: 22px;
  order: 1;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.float-btn-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.float-btn-top:hover {
  background: var(--sup);
  color: #fff !important;
}

@media (max-width: 768px) {
  .float-dock {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
  .float-btn {
    width: 50px;
    height: 50px;
  }
  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a { color: var(--sup); }
.breadcrumb span { margin: 0 8px; }

/* Model list cards */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
  color: inherit !important;
  transition: transform .25s, box-shadow .25s;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(20,71,138,.18);
  color: inherit !important;
}

.model-card-img {
  height: 180px;
  background: linear-gradient(135deg, #e8eef7, #f5f8fc);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.model-card-img img { max-height: 140px; object-fit: contain; }

.model-card-body { padding: 20px; }

.model-card-body h3 {
  color: var(--main);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.model-card-spec {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.model-card-tag {
  display: inline-block;
  background: #eef4fb;
  color: var(--main);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.model-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sup) !important;
}

.model-card-link i { margin-left: 4px; }

/* Sub category tabs */
.subcat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}

.subcat-nav a {
  padding: 10px 20px;
  border: 2px solid var(--main);
  border-radius: 4px;
  color: var(--main) !important;
  font-weight: 600;
}

.subcat-nav a:hover,
.subcat-nav a.active {
  background: var(--main);
  color: #fff !important;
}

/* Product detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-img {
  background: #f5f8fc;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
}

.product-detail-img img { margin: 0 auto; max-height: 320px; }

.product-detail-info h1 {
  color: var(--main);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.product-one-liner {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin: 20px 0;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--main);
  font-weight: bold;
}

.guide-link-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid #e6eef8;
  border-left: 4px solid var(--main);
  box-shadow: 0 8px 24px rgba(20, 71, 138, 0.08);
}

.guide-link-box p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 992px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .model-grid { grid-template-columns: 1fr; }
}

/* Product detail cards */
.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.spec-card h3 { color: var(--main); margin-bottom: 8px; }
.spec-card .one-liner {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .home-feature-values__grid {
    gap: 24px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-feature-values__heading h2 { letter-spacing: 0.03em; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .product-spec-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 10px 12px 16px;
    box-shadow: 0 14px 32px rgba(20, 71, 138, .14);
    border: 1px solid #e8eef7;
    border-radius: 0 0 12px 12px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    z-index: 1001;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 13px 16px;
    font-size: 15px;
    border-radius: 8px;
  }
  .main-nav a.lang-switch {
    margin: 8px 0 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card img { padding: 20px 20px 4px; }
  .product-card--cover img { padding: 0; }
  .product-card--cover .overlay {
    grid-template-columns: 1fr;
  }
  .product-card--cover .overlay h3,
  .product-card--cover .overlay p { grid-column: 1; }
  .product-card--cover .product-card-more {
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
    margin-top: 10px;
  }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .audience-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

.line-link { color: #06c755; }
.line-link:hover { color: #05b34c; }

.js-gallery-thumb { width: 60px; height: 50px; object-fit: cover; cursor: pointer; border-radius: 4px; border: 2px solid #ddd; margin-right: 4px; }
.js-gallery-thumb.is-active { border-color: var(--main); }

.pdf-tab-btn.is-active {
  background: #1a4fa0;
  color: #fff;
}

/* News / cases cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
a.news-card:hover {
  box-shadow: 0 8px 28px rgba(20,71,138,.16);
  transform: translateY(-2px);
  color: inherit;
}
a.news-card:hover h3 { color: var(--main); }
.news-card-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: #e8eef7;
  overflow: hidden;
  flex-shrink: 0;
}
.news-card-media img,
.news-card-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}
.news-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card .news-date {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 8px;
}
.news-tag {
  display: inline-block;
  background: #e8f0fb;
  color: #1a4fa0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: #1a2a40;
  line-height: 1.5;
}
.news-card p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.news-tag.notice,
.news-tag.video { background: #fff3d6; color: #b8860b; }
.news-tag.gate { background: #eaf7ee; color: #1a7a40; }
.news-no-media {
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 2rem;
}
.news-card-media.has-video {
  position: relative;
}
.news-card-media.has-video::after {
  content: '\f144';
  font-family: FontAwesome;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  pointer-events: none;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.case-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); }
.case-card-media {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e8eef7;
  overflow: hidden;
  flex-shrink: 0;
}
.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.case-card:hover .case-card-media img { transform: scale(1.03); }
.case-card-media iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.case-card-body {
  padding: 18px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-tag {
  display: inline-block;
  background: #e8f0fb;
  color: #1a4fa0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.case-tag.gate  { background: #eaf7ee; color: #1a7a40; }
.case-tag.video { background: #fff3d6; color: #b8860b; }
.case-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: #1a2a40;
  line-height: 1.5;
}
.case-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}
.case-meta {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 10px;
}

/* Dealers */
.region-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.region-tab {
  padding: 8px 24px;
  border: 2px solid var(--main);
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--main);
  background: #fff;
  transition: all .2s;
  font-size: 0.95rem;
}
.region-tab.active, .region-tab:hover {
  background: var(--main);
  color: #fff;
}
.region-section { margin-bottom: 48px; }
.region-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--main);
  border-left: 4px solid var(--main);
  padding-left: 12px;
  margin-bottom: 20px;
}
.dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.dealer-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0e8f2;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(20,71,138,.07);
  transition: box-shadow .2s, transform .2s;
}
.dealer-card:hover {
  box-shadow: 0 8px 28px rgba(20,71,138,.14);
  transform: translateY(-2px);
}
.dealer-city {
  display: inline-block;
  background: var(--bg);
  color: var(--main);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.dealer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2d42;
  margin-bottom: 14px;
}
.dealer-info-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}
.dealer-info-row i {
  color: var(--main);
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.dealer-card .map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--main);
  font-weight: 600;
  text-decoration: none;
}
.dealer-card .map-link:hover { text-decoration: underline; }
.hq-card {
  background: linear-gradient(135deg, #14478a 0%, #1a5caa 100%);
  color: #fff;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.hq-card h2 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.hq-card .hq-info { flex: 1; min-width: 220px; }
.hq-card .hq-info p { color: rgba(255,255,255,.88); margin-bottom: 8px; font-size: 0.95rem; }
.hq-card .hq-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.9);
  align-self: flex-start;
}

/* Contact page */
.contact-page {
  background: var(--bg);
  padding-top: 48px;
  padding-bottom: 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.contact-aside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0e3568 0%, #14478a 52%, #1b5fb8 100%);
  color: #fff;
  border-radius: 16px;
  padding: 36px 32px 32px;
  box-shadow: 0 18px 40px rgba(20, 71, 138, 0.22);
}

.contact-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.contact-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffd56a;
  margin-bottom: 8px;
}

.contact-aside h2 {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 6px;
}

.contact-aside-en {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-details li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffd56a;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.contact-details a,
.contact-details span {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-details a:hover { color: var(--accent); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-contact-call {
  background: #fff;
  color: var(--main) !important;
  border-color: #fff;
}

.btn-contact-call:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a2a40 !important;
}

.btn-contact-line {
  background: #06c755;
  border-color: #06c755;
  color: #fff !important;
}

.btn-contact-line:hover {
  background: #05b34c;
  border-color: #05b34c;
  color: #fff !important;
}

.contact-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.contact-panel {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: var(--main);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.contact-panel-lead {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--main);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.contact-form .req { color: #c0392b; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5e0ee;
  border-radius: 8px;
  padding: 11px 14px;
  font: inherit;
  color: var(--text);
  background: #f7f9fc;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sup);
  box-shadow: 0 0 0 3px rgba(46, 121, 224, 0.18);
}

.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { justify-self: start; margin-top: 4px; cursor: pointer; }

.contact-services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.contact-services li {
  background: #fff;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-service-ico {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #e8f0fb;
  color: var(--main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.contact-services h3 {
  color: var(--main);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.contact-services p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

.contact-map {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #e8eef7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 600px) {
  .news-grid,
  .cases-grid,
  .dealer-grid,
  .contact-services { grid-template-columns: 1fr; }
  .hq-card { flex-direction: column; gap: 16px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-aside,
  .contact-panel { padding: 28px 22px; }
}


/* 列表分頁（套版新增） */
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 36px; }
.pager a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #d5dfeb; border-radius: 8px; color: var(--main); }
.pager a:hover { background: #eef4fb; }
.pager span { color: var(--muted); font-size: 14px; }
