/* =====================================================================
   泰順輪胎底盤 — 全站共用樣式
   設計系統：所有頁面共用此檔。配色用 :root 變數管理，版面 RWD。
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --color-primary: #d11f26;
  --color-primary-dark: #a3151b;
  --color-accent: #f5b301;
  --color-ink: #15171c;
  --color-ink-2: #2a2e37;
  --color-body: #3c424d;
  --color-muted: #5b616d;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f5f7;
  --color-bg-dark: #15171c;
  --color-line: #e3e5e9;
  --color-line-dark: #2c303a;

  /* text colours for use ON dark / coloured surfaces (hero, dark sections, footer) */
  --color-on-dark: #eef1f5;        /* primary text on dark */
  --color-on-dark-soft: #d9dfe8;   /* secondary text on dark */
  --color-on-dark-muted: #aeb6c2;  /* tertiary text on dark */

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 10px rgba(21, 23, 28, .06);
  --shadow-md: 0 10px 30px rgba(21, 23, 28, .10);
  --shadow-lg: 0 22px 60px rgba(21, 23, 28, .16);
  --header-h: 74px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--color-body);
  background: var(--color-bg);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ---------- Inline-SVG icon system (replaces emoji glyphs) ---------- */
.icon { width: 1em; height: 1em; display: block; flex: none; stroke: currentColor; fill: none; }
.card-icon .icon { width: 28px; height: 28px; stroke: var(--color-primary); }
.feature .feature-ic .icon { width: 24px; height: 24px; stroke: var(--color-primary); }
.info-line .ic .icon { width: 22px; height: 22px; stroke: var(--color-primary); }
.hero-card .feature-line .ic .icon { width: 22px; height: 22px; stroke: var(--color-accent); }
.footer-contact .ic .icon { width: 18px; height: 18px; stroke: var(--color-primary); margin-top: 3px; }
.nav-cta .icon, .btn .icon { width: 1.05em; height: 1.05em; stroke: currentColor; }
.pc-visual .icon { width: 60px; height: 60px; stroke: var(--color-accent); }
.split-media .badge-num .ic .icon { width: 34px; height: 34px; stroke: var(--color-accent); margin: 0 auto 12px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--color-ink); line-height: 1.25; font-weight: 800; letter-spacing: .01em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-bg-dark); color: #c7ccd6; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.narrow { max-width: 760px; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head.left { text-align: left; margin-inline: 0; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .18em;
  color: var(--color-primary); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-desc { margin-top: 16px; color: var(--color-muted); font-size: clamp(1rem, 1.6vw, 1.1rem); line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(209, 31, 38, .28); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(209, 31, 38, .36); }
.btn-outline { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--color-ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.06rem; }

/* --- buttons on dark / coloured surfaces (hero + red CTA band) need high contrast --- */
/* primary button on the red CTA band: invert to a white pill with red text so its edge is clear */
.cta-band .btn-primary { background: #fff; color: var(--color-primary); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.cta-band .btn-primary:hover { background: var(--color-bg-alt); color: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .28); }
/* outline (secondary) buttons sit on dark hero or red CTA → force light text + visible light border */
.hero .btn-outline, .cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .btn-outline:hover, .cta-band .btn-outline:hover { background: rgba(255, 255, 255, .15); border-color: #fff; color: #fff; transform: translateY(-2px); }
.hero .btn-outline:focus-visible, .cta-band .btn-outline:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff; font-weight: 900; font-size: 1.05rem; letter-spacing: .02em; flex: none;
  box-shadow: 0 6px 16px rgba(209, 31, 38, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.18rem; color: var(--color-ink); font-weight: 800; }
.brand-text small { font-size: clamp(.74rem, 1vw, .82rem); color: var(--color-muted); letter-spacing: .03em; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-weight: 600; font-size: clamp(.95rem, 1.05vw, 1rem); color: var(--color-ink-2); position: relative; padding: 6px 0; transition: color .2s; }
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--color-primary); transition: width .25s var(--ease);
}
.site-nav ul a:hover { color: var(--color-primary); }
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after { width: 100%; }
.site-nav ul a[aria-current="page"] { color: var(--color-primary); }
.nav-cta { padding: 10px 20px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 0 auto; background: var(--color-ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #eef0f4; overflow: hidden;
  background: linear-gradient(125deg, #15171c 0%, #20242d 55%, #2c0d0e 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(209, 31, 38, .35), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(245, 179, 1, .12), transparent 40%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: clamp(60px, 9vw, 110px) 0; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700;
  letter-spacing: .04em; color: #fff; background: rgba(209, 31, 38, .22);
  border: 1px solid rgba(209, 31, 38, .5); padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.5rem); line-height: 1.15; }
.hero h1 .hl { color: var(--color-accent); }
.hero-lead { margin-top: 22px; font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: 1.85; color: var(--color-on-dark); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 30px; }
.hero-stats .num { display: block; font-size: clamp(1.55rem, 2.4vw, 1.9rem); font-weight: 900; color: #fff; line-height: 1.1; white-space: nowrap; }
.hero-stats .lbl { display: block; font-size: .92rem; color: var(--color-on-dark-soft); margin-top: 6px; }
.hero-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 30px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.hero-card .feature-line { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--color-on-dark-soft); line-height: 1.55; }
.hero-card .feature-line:last-child { border-bottom: 0; }
.hero-card .feature-line .ic { color: var(--color-accent); font-weight: 900; }
.hero-card .feature-line strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
.hero-card .feature-line small { color: var(--color-on-dark-soft); font-size: .9rem; }

/* page banner (inner pages) */
.page-hero { position: relative; color: #fff; text-align: center; padding: clamp(56px, 8vw, 96px) 0; background: linear-gradient(125deg, #15171c, #2c0d0e); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(209, 31, 38, .35), transparent 50%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); }
.page-hero p { margin-top: 16px; font-size: clamp(1.04rem, 1.7vw, 1.2rem); line-height: 1.75; color: var(--color-on-dark); max-width: 660px; margin-inline: auto; text-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.breadcrumb { margin-top: 18px; font-size: clamp(.92rem, 1.2vw, 1.02rem); color: var(--color-on-dark-soft); }
.breadcrumb a { color: var(--color-on-dark-soft); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(209, 31, 38, .12), rgba(245, 179, 1, .14)); margin-bottom: 18px;
}
.card h3 { font-size: clamp(1.15rem, 2vw, 1.3rem); margin-bottom: 12px; }
.card p { color: var(--color-body); font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.85; }

/* feature / why-us list — grid so the title never gets squeezed into a narrow column */
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; }
.feature .feature-ic { grid-row: 1 / span 2; flex: none; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(209, 31, 38, .1); color: var(--color-primary); }
.feature h3 { grid-column: 2; align-self: center; font-size: clamp(1.1rem, 1.6vw, 1.2rem); margin-bottom: 6px; }
.feature p { grid-column: 2; color: var(--color-body); font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.85; }

/* split (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 70px); align-items: center; }
.split-media {
  border-radius: var(--radius); min-height: 340px; box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #20242d, #3a1011); position: relative; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 4px;
  color: #fff; padding: clamp(30px, 5vw, 48px); border: 1px solid rgba(245, 179, 1, .14);
}
/* decorative tyre-tread / concentric ring motif so the panel reads as designed, not as a missing image */
.split-media::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, rgba(245,179,1,.18) 0 2px, transparent 2px 14px);
  opacity: 1; pointer-events: none;
}
.split-media::after {
  content: ""; position: absolute; left: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 1.5px dashed rgba(209, 31, 38, .5); pointer-events: none;
}
.split-media .badge-num { text-align: center; position: relative; z-index: 1; }
.split-media .badge-num + .badge-num { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.split-media .badge-num strong { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; color: var(--color-accent); line-height: 1.05; }
.split-media .badge-num span { color: #d3d8e0; letter-spacing: .04em; font-size: .98rem; }
.check-list li { display: flex; gap: 12px; padding: 9px 0; color: var(--color-body); }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: .8rem; font-weight: 900; display: grid; place-items: center; margin-top: 3px; }

/* stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 28px); text-align: center; }
.stats-strip > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stats-strip .num { font-size: clamp(1.55rem, 2.7vw, 2.15rem); font-weight: 900; color: var(--color-primary); line-height: 1.1; white-space: nowrap; }
.stats-strip .lbl { margin-top: 0; color: var(--color-muted); font-size: 1rem; line-height: 1.4; }
/* brighter red + lighter labels for legibility on dark sections */
.section--dark .stats-strip .num { color: #ff5b61; }
.section--dark .stats-strip .lbl { color: #b7bdc8; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 26px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.step > div { flex: 1; }
.step h3 { font-size: clamp(1.12rem, 1.9vw, 1.28rem); margin-bottom: 6px; }
.step p { color: var(--color-body); font-size: clamp(1rem, 1.3vw, 1.06rem); line-height: 1.8; }

/* product cards */
.product-card { overflow: hidden; padding: 0; }
.product-card .pc-top { padding: 26px 26px 0; }
.product-card .pc-tag { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .06em; color: var(--color-primary); background: rgba(209, 31, 38, .1); padding: 4px 12px; border-radius: 999px; }
.product-card .pc-visual { margin: 18px 26px 0; height: clamp(140px, 18vw, 168px); border-radius: var(--radius-sm); position: relative; overflow: hidden; background: linear-gradient(135deg, #1b1e28, #36181a); display: grid; place-items: center; color: var(--color-accent); box-shadow: inset 0 0 34px rgba(0, 0, 0, .42); }
.product-card .pc-visual::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, rgba(245,179,1,.14) 0 2px, transparent 2px 13px); opacity: .95; }
/* badge sits on the dark thumbnail → solid red + white text so it reads clearly, not red-on-dark */
.product-card .pc-visual .pc-tag { position: absolute; top: 12px; left: 12px; z-index: 2; color: #fff; background: var(--color-primary); font-size: .78rem; padding: 5px 13px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.pc-visual .icon { width: clamp(52px, 8vw, 74px); height: clamp(52px, 8vw, 74px); position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.product-card .pc-body { padding: 20px 26px 28px; }
.product-card h3 { font-size: clamp(1.15rem, 2.2vw, 1.28rem); margin-bottom: 8px; }
.product-card .pc-body p { color: var(--color-body); font-size: clamp(.98rem, 1.4vw, 1.06rem); line-height: 1.8; }
.product-card .pc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.product-card .pc-meta span { font-size: .8rem; color: var(--color-ink-2); background: var(--color-bg-alt); border: 1px solid var(--color-line); padding: 4px 10px; border-radius: 999px; }

/* price / table */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: clamp(14px, 1.6vw, 20px) clamp(15px, 2vw, 24px); text-align: left; border-bottom: 1px solid var(--color-line); font-size: clamp(.95rem, 1.3vw, 1.04rem); line-height: 1.65; }
.spec-table th { background: var(--color-ink); color: #fff; font-weight: 700; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: var(--color-bg-alt); }

/* faq */
.faq-item { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-sm); padding: clamp(20px, 3vw, 28px) clamp(22px, 3.5vw, 32px); margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: clamp(1.08rem, 1.7vw, 1.22rem); margin-bottom: 12px; line-height: 1.45; color: var(--color-ink); }
.faq-item h3::before { content: "Q"; color: var(--color-primary); font-weight: 900; margin-right: 8px; }
.faq-item p { color: var(--color-body); font-size: clamp(.98rem, 1.3vw, 1.06rem); line-height: 1.85; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.info-line { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--color-line); }
.info-line:last-child { border-bottom: 0; }
.info-line .ic { grid-row: 1 / span 2; flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(209, 31, 38, .1); color: var(--color-primary); }
.info-line .lbl { grid-column: 2; font-size: .85rem; color: var(--color-muted); }
.info-line .val { grid-column: 2; font-weight: 700; color: var(--color-ink); font-size: 1.05rem; }
.info-line .val a:hover { color: var(--color-primary); }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--color-ink-2); font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--color-ink);
  padding: 12px 15px; border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(209, 31, 38, .14);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.map-embed { width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-line); background: var(--color-bg-alt); }
.map-embed iframe { display: block; width: 100%; height: clamp(280px, 42vw, 460px); border: 0; }

/* CTA band */
.cta-band { background: linear-gradient(125deg, var(--color-primary), var(--color-primary-dark)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta-band p { color: rgba(255, 255, 255, .9); margin-top: 12px; }
.cta-band .hero-actions { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-bg-dark); color: var(--color-on-dark-soft); padding-top: clamp(50px, 7vw, 76px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: clamp(1.04rem, 1.5vw, 1.16rem); margin-bottom: 18px; }
.site-footer a:hover { color: #fff; }
.footer-grid .brand-text strong { color: #fff; }
.footer-grid .brand-text small { color: var(--color-on-dark-muted); }
.footer-about { margin-top: 16px; font-size: clamp(.96rem, 1.4vw, 1.04rem); line-height: 1.9; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: clamp(.96rem, 1.3vw, 1.04rem); line-height: 1.7; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; font-size: clamp(.96rem, 1.3vw, 1.04rem); line-height: 1.7; align-items: flex-start; }
.footer-contact .ic { color: var(--color-primary); flex: none; }
.footer-bottom { border-top: 1px solid var(--color-line-dark); padding: 22px 0; font-size: .9rem; color: var(--color-on-dark-muted); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* =====================================================================
   Readability & Contrast Enhancement (June 2026)
   ===================================================================== */

/* body base — maintain comfortable reading line-height */
body { line-height: 1.8; font-size: 17px; }

/* Header & Navigation improvements */
.site-nav a { font-weight: 600; font-size: clamp(1rem, 1.1vw, 1.08rem); color: var(--color-ink-2); }
.brand-text strong { font-size: 1.2rem; }
.brand-text small { font-size: clamp(.8rem, 1vw, .9rem); color: var(--color-muted); }

/* Phone CTA button — high contrast red + white text */
.nav-cta { padding: 10px 20px; font-size: 1rem; color: #fff !important; }
.nav-cta:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* Hero section improvements */
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.85; color: var(--color-on-dark); }
.hero-stats .lbl { font-size: .92rem; color: var(--color-on-dark-soft); }

/* Page hero section */
.page-hero p { font-size: clamp(1.06rem, 1.7vw, 1.2rem); line-height: 1.85; color: var(--color-on-dark); }
.breadcrumb { font-size: clamp(.92rem, 1.2vw, 1.02rem); color: var(--color-on-dark-soft); }

/* Section descriptions — maintain hierarchy */
.section-desc { color: var(--color-muted); font-size: clamp(1rem, 1.6vw, 1.1rem); }

/* Card & feature text */
.card p { color: var(--color-body); font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.85; }
.feature p { color: var(--color-body); font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.85; }

/* Footer improvements */
.site-footer { background: var(--color-bg-dark); color: var(--color-on-dark-soft); padding-top: clamp(50px, 7vw, 76px); }
.footer-about { font-size: clamp(1rem, 1.4vw, 1.08rem); line-height: 1.9; }
.footer-links a { font-size: clamp(1rem, 1.3vw, 1.08rem); }
.footer-contact li { font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.7; }
.footer-bottom { font-size: .9rem; color: var(--color-on-dark-soft); }

/* ---------- Content rhythm & utilities ---------- */
main p + p { margin-top: 1rem; }
.split p + h3 { margin-top: 1.6rem; }
.mt-md { margin-top: 1.5rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.note { text-align: center; color: var(--color-muted); margin-top: 28px; }
.tile-list li { padding: 13px 0; border-bottom: 1px solid var(--color-line); }
.tile-list li:last-child { border-bottom: 0; }
.tile-list strong { color: var(--color-ink); font-weight: 700; }
.tile-list small { color: var(--color-muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--color-line); padding: 10px 0 18px;
    box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul li { border-bottom: 1px solid var(--color-line); }
  .site-nav ul a { display: block; padding: 14px 26px; }
  .site-nav ul a::after { display: none; }
  .nav-cta { margin: 16px 26px 0; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 460px) {
  .brand-text small { display: none; }
  .hero-stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
}

/* =====================================================================
   元件可讀性 / RWD 精修（split-media、產品卡 / FAQ、聯絡頁地圖）
   配色引用 :root 變數；字級行高 rem/clamp；不對容器寫死像素寬。
   ===================================================================== */

/* ---- 深色資訊卡 .split-media：黃色大標不再被硬拆 + 副字可讀 ---- */
.split-media { min-height: clamp(280px, 38vw, 340px); }
.split-media .badge-num strong {
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  line-height: 1.2;
  text-wrap: balance;
  word-break: keep-all;   /* 避免「業界先/進」「全球前/十」等 CJK 詞被從中間斷開 */
  hyphens: none;
}
.split-media .badge-num span { font-size: 1rem; color: var(--color-on-dark-soft); }
.check-list li { font-size: clamp(1.02rem, 1.4vw, 1.06rem); line-height: 1.7; }

/* ---- 產品卡 / 規格表 / FAQ：放大字級、舒適行距、等高卡片 ---- */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .pc-body { padding: 24px 26px 32px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { margin-bottom: 12px; }
.product-card .pc-body p { font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.85; margin-bottom: 1rem; }
.product-card .pc-meta { gap: 10px; margin-top: auto; }
.product-card .pc-meta span { font-size: .875rem; padding: 6px 12px; line-height: 1.5; }
.spec-table th, .spec-table td { padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2.2vw, 26px); font-size: clamp(.98rem, 1.35vw, 1.08rem); line-height: 1.7; }
.faq-item { padding: clamp(24px, 3.2vw, 32px) clamp(26px, 3.8vw, 36px); }
.faq-item h3 { font-size: clamp(1.12rem, 1.8vw, 1.28rem); margin-bottom: 14px; line-height: 1.5; }
.faq-item p { font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.9; }

/* ---- 聯絡頁地圖：響應式 aspect-ratio + 品牌深色底（載入中不再是空白灰框） ---- */
.map-embed {
  position: relative; width: 100%; max-width: 100%; margin-inline: auto;
  aspect-ratio: 16 / 10; height: auto;
  background: linear-gradient(135deg, #20242d, #3a1011);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.info-line .lbl { font-size: .9rem; }
.note { font-size: clamp(.95rem, 1.2vw, 1.02rem); line-height: 1.7; }

/* ================= 頁面精修 — about/services/contact 可讀性 + 流程平衡（2026-06）================= */

/* —— 共用 chrome：header / footer / 深色統計列 —— */

/* Header & Nav 區 */
.brand-text strong {
  font-size: clamp(1.28rem, 1.1vw, 1.32rem);
  letter-spacing: .01em;
}

.brand-text small {
  font-size: clamp(.82rem, 1.05vw, .92rem);
  letter-spacing: .03em;
  margin-top: 2px;
}

.site-nav a {
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.5;
  letter-spacing: .01em;
}

.nav-cta {
  font-size: clamp(1rem, 1.1vw, 1.04rem);
  line-height: 1.4;
  font-weight: 600;
  color: #fff !important;
  background: var(--color-primary);
  border-radius: 999px;
  transition: background .2s, transform .2s;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Footer 區 */
.footer-about {
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 2;
  color: var(--color-on-dark);
  margin-top: 16px;
}

.site-footer h4 {
  color: #fff;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  line-height: 1.85;
  color: var(--color-on-dark);
  transition: color .2s;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  line-height: 1.85;
  color: var(--color-on-dark);
}

.footer-contact .ic {
  color: var(--color-primary);
  flex: none;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--color-line-dark);
  padding: 26px 0;
  font-size: clamp(.96rem, 1.2vw, 1.02rem);
  line-height: 1.6;
  color: var(--color-on-dark-soft);
}

/* 深色統計列說明文字 */
.section--dark .stats-strip .lbl {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  color: var(--color-on-dark);
  letter-spacing: .01em;
  margin-top: 8px;
}

/* —— 內容文字階層：eyebrow / desc / 卡片 / 清單 —— */

/* 紅色小標籤 .eyebrow：放大尺寸、提高對比、字距舒適 */
.eyebrow {
  display: inline-block;
  font-size: clamp(.9rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* 區段說明 .section-desc：提高字級下限、增強行高 */
.section-desc {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.1rem);
  line-height: 1.95;
}

/* 卡片標題 & 內文：提升可讀性 */
.card h3 {
  font-size: clamp(1.18rem, 2vw, 1.3rem);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card p {
  color: var(--color-body);
  font-size: clamp(1.05rem, 1.4vw, 1.08rem);
  line-height: 1.9;
  max-width: 100%;
}

/* 特色列表 .feature h3 & p：字級下限提高、行距舒適 */
.feature h3 {
  grid-column: 2;
  align-self: center;
  font-size: clamp(1.12rem, 1.6vw, 1.2rem);
  margin-bottom: 6px;
  line-height: 1.35;
}

.feature p {
  grid-column: 2;
  color: var(--color-body);
  font-size: clamp(1.05rem, 1.4vw, 1.08rem);
  line-height: 1.9;
}

/* 檢查清單 .check-list：提升行高與字級 */
.check-list li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  color: var(--color-body);
  font-size: clamp(1.02rem, 1.4vw, 1.06rem);
  line-height: 1.85;
  align-items: flex-start;
}

.check-list li::before {
  content: "✓";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* 聯絡頁資訊列 .info-line：字級與間距舒適 */
.info-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 2px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}

.info-line .lbl {
  grid-column: 2;
  font-size: clamp(.9rem, 1.2vw, .95rem);
  color: var(--color-muted);
  line-height: 1.6;
}

.info-line .val {
  grid-column: 2;
  font-weight: 700;
  color: var(--color-ink);
  font-size: clamp(1.05rem, 1.4vw, 1.1rem);
  line-height: 1.7;
}

/* main 內一般段落文字：提高字級下限 */
main p {
  font-size: clamp(1.05rem, 1.4vw, 1.08rem);
  line-height: 1.9;
  color: var(--color-body);
}

/* split 段落限制欄寬：避免超寬文字難讀 */
.split > p {
  max-width: 760px;
  margin-inline: auto;
}

/* —— services：流程 steps 兩欄平衡 / 表格 / FAQ —— */

/* .steps 兩欄平衡（桌機）+ 單欄（窄螢幕） */
@media (min-width: 768px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(26px, 4vw, 40px);
    row-gap: clamp(26px, 4vw, 40px);
    counter-reset: step;
  }
  .step {
    display: flex;
    gap: clamp(16px, 2vw, 20px);
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 26px);
    counter-reset: step;
  }
  .step {
    display: flex;
    gap: clamp(14px, 2vw, 18px);
    align-items: flex-start;
  }
}

/* .step 編號視覺穩定 + 文字區塊均衡 */
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  flex: none;
  width: clamp(48px, 8vw, 52px);
  height: clamp(48px, 8vw, 52px);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.2rem);
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.step > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step h3 {
  font-size: clamp(1.15rem, 2vw, 1.32rem);
  margin-bottom: clamp(8px, 1vw, 12px);
  line-height: 1.35;
  color: var(--color-ink);
}

.step p {
  color: var(--color-body);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.8;
  margin: 0;
}

/* 規格/服務說明表：增加 padding、提高字級下限、行高舒適 */
.spec-table th,
.spec-table td {
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.75;
}

.spec-table th {
  background: var(--color-ink);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}

.spec-table tbody tr:hover {
  background: var(--color-bg-alt);
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

/* FAQ 項目：放鬆內距、提高字級下限、增加行高 */
.faq-item {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  padding: clamp(26px, 3.5vw, 34px) clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: clamp(1.16rem, 1.9vw, 1.32rem);
  margin-bottom: clamp(14px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--color-ink);
}

.faq-item h3::before {
  content: "Q";
  color: var(--color-primary);
  font-weight: 900;
  margin-right: 10px;
}

.faq-item p {
  color: var(--color-body);
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.9;
  margin: 0;
}

/* 窄螢幕（<768px）調整 steps 間距 */
@media (max-width: 767px) {
  .step::before {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}
