/* ===================================
   康連企業股份有限公司 - 全站樣式
   B2B 製造業 / PVC 膠膜
   =================================== */

/* ---------- 設計變數 ---------- */
:root {
  /* 主色調 - 專業 B2B（深藍與 DM 封面一致）*/
  --color-primary: #1a4480;        /* 深藍 - 主品牌色 */
  --color-primary-dark: #102a52;
  --color-primary-light: #2d5fa3;
  --color-accent: #4a8c5e;         /* 葉綠 - 來自 logo */
  --color-accent-dark: #356a44;

  /* 中性色 */
  --color-text: #1a2332;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-bg-dark: #1a2332;

  /* 字型 */
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  /* 尺寸 */
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-height: 80px;

  /* 過渡 */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* 陰影 */
  --shadow-sm: 0 1px 2px rgba(10, 61, 98, 0.05);
  --shadow: 0 4px 12px rgba(10, 61, 98, 0.08);
  --shadow-lg: 0 10px 30px rgba(10, 61, 98, 0.12);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* ---------- 容器 ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 區段共用 ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-secondary);
}

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-light {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.btn-light:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-arrow::after {
  content: "→";
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===================================
   Header
   =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-primary);
}

.logo-mark {
  width: 48px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.logo-mark svg,
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text-tw {
  display: block;
  line-height: 1.2;
  font-size: 18px;
  font-weight: 700;
}

.logo-text-en {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a:not(.btn) {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 4px;
  transition: all var(--transition);
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
  color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

/* 立即詢價按鈕：即使 active 也要保持深藍底白字 */
.main-nav a.btn.active,
.main-nav a.btn-primary.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.header-cta {
  margin-left: 16px;
}

/* 語言切換 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.lang-switch a {
  display: inline-block;
  padding: 4px 10px;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 2px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.lang-switch a.active {
  background: var(--color-primary);
  color: #ffffff;
}

.lang-switch a:not(.active):hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ===================================
   Hero
   =================================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a3d62 0%, #1e5f8e 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0, 168, 204, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 168, 204, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-content {
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background-color: rgba(0, 168, 204, 0.2);
  border: 1px solid rgba(0, 168, 204, 0.4);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-title span {
  display: block;
  color: #8ec99a;  /* 較亮的綠，在深藍底上有足夠對比 */
}

/* 英文版 hero 標題：英文字串較長，字級下限調小避免換行擠 */
html[lang="en"] .hero-title {
  font-size: clamp(32px, 4.8vw, 52px);
}
html[lang="en"] .hero-title span {
  font-size: 0.78em;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #8ec99a;  /* 較亮的綠，深藍底對比清晰 */
  line-height: 1;
}

/* 文字型 stat（如「竹南」「上海」「Zhunan」「Shanghai」），字級略小避免擠 */
.hero-stat-num.hero-stat-text {
  font-size: 24px;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* ===================================
   優勢 / 特色卡片
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 168, 204, 0.1);
  color: var(--color-primary);
  border-radius: 8px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===================================
   產品分類
   =================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  background-color: var(--color-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  position: relative;
  overflow: hidden;
}

.product-image svg {
  width: 100%;
  height: 100%;
}

.product-body {
  padding: 24px 28px 28px;
}

.product-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.product-link::after {
  content: "→";
  transition: transform var(--transition);
}

.product-card:hover .product-link::after {
  transform: translateX(4px);
}

/* ===================================
   關於我們區塊（首頁版）
   =================================== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
}

.about-image svg {
  width: 100%;
  height: 100%;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-list {
  margin: 24px 0;
}

.about-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text-secondary);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 8px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* ===================================
   應用場景
   =================================== */
.applications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.app-card {
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.app-card:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  transform: translateY(-4px);
}

.app-card:hover .app-icon {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.app-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background-color: rgba(10, 61, 98, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  transition: all var(--transition);
}

.app-icon svg {
  width: 28px;
  height: 28px;
}

.app-name {
  font-size: 16px;
  font-weight: 600;
}

/* ===================================
   CTA 區塊
   =================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================
   頁面 Hero（內頁用）
   =================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0, 168, 204, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8ec99a;  /* 較亮的綠，深藍底對比清晰 */
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  color: #ffffff;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto;
}

/* ===================================
   產品列表（產品頁用）
   =================================== */
.product-list {
  display: grid;
  gap: 80px;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-row:nth-child(even) .product-row-image {
  order: 2;
}

.product-row-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
}

.product-row-image svg {
  width: 100%;
  height: 100%;
}

.product-row-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.product-row-content > p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.spec-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  font-weight: 600;
  color: var(--color-text);
  background-color: var(--color-bg-alt);
  width: 35%;
}

.spec-table td {
  color: var(--color-text-secondary);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  background-color: var(--color-bg-alt);
  color: var(--color-text-secondary);
  border-radius: 100px;
  border: 1px solid var(--color-border);
}

/* ===================================
   關於我們頁
   =================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
}

.story-image svg {
  width: 100%;
  height: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.value-card {
  padding: 36px 32px;
  background-color: var(--color-bg);
  border-top: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
}

.value-num {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.value-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-desc {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 18px;
  height: 18px;
  background-color: var(--color-bg);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
}

/* ===================================
   聯絡頁
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}

.contact-info {
  background-color: var(--color-bg-alt);
  padding: 48px 40px;
  border-radius: 8px;
  align-self: start;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.contact-list {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  color: var(--color-primary);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.5;
}

.contact-form {
  background-color: var(--color-bg);
  padding: 48px 40px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.contact-form h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  font-size: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 61, 98, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand .logo-text-en {
  color: rgba(255, 255, 255, 0.5);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   響應式
   =================================== */
@media (max-width: 960px) {
  .section {
    padding: 64px 0;
  }

  .hero-inner,
  .about-block,
  .product-row,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-row:nth-child(even) .product-row-image {
    order: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-info {
    padding: 32px 24px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    padding: 64px 0 56px;
  }
}
