/* 灰白工業／傳產官網風格；動效與主色參考 Antek 類工程機械版型（https://pro-theme.com/html/antek/page-categories-1.html） */
:root {
  --color-bg: #fdf9e7;
  --color-bg-soft: #f2f2f2;
  --color-surface: #ffffff;
  --color-text: #2b2b2b;
  --color-muted: #5a5a5a;
  --color-accent: #404040;
  --color-accent-hover: #1a1a1a;
  --antek-yellow: #fce857;
  --antek-yellow-dark: #f0e022;
  --antek-ink: #0d0d0d;
  --color-brand: var(--antek-yellow-dark);
  --color-brand-hover: #c2b015;
  --color-border: #bdbdbd;
  --color-border-strong: #9e9e9e;
  --color-topbar-bg: #4a4a4a;
  --color-topbar-text: #e8e8e8;
  --color-topbar-link: #ffffff;
  --color-footer-bg: #3a3a3a;
  --color-footer-text: #b5b5b5;
  --color-footer-link: #dedede;
  --color-heading-band: #ebebeb;
  --home-section-head-bg: #f2f2f2;
  --home-section-head-accent-w: 8px;
  --color-card-enquire: #f57c00;
  --color-card-enquire-hover: #e65100;
  --color-card-border: #dee2e6;
  --color-navy: #1a2744;
  /* 頁首導覽：Indelible Think 式（亮琥珀底、黑字連結、末端紫色膠囊 CTA）參考 https://indeliblethink.co.uk/website-navigation-bar/ */
  --nav-bar-bg: #ffb400;
  --nav-bar-border: #1a1a1a;
  --nav-cta-bg: #7d61cc;
  --nav-cta-bg-hover: #6847c4;
  --nav-link: #0d0d0d;
  --font-sans: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 12px 28px rgba(0, 0, 0, 0.12);
  --radius: 3px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: translate3d(12px, 0, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-accent);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.top-bar {
  background: var(--color-topbar-bg);
  color: var(--color-topbar-text);
  font-size: 0.8125rem;
  border-bottom: 1px solid #333;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding: 0.45rem 0;
  line-height: 1.5;
}

.top-bar-item {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}

.top-bar-item--full {
  flex: 1 1 100%;
}

@media (min-width: 640px) {
  .top-bar-item--full {
    flex: 1 1 auto;
  }
}

.top-bar-label {
  color: #a8a8a8;
  font-weight: 500;
}

.top-bar-hint {
  font-weight: 400;
  color: #b8b8b8;
  font-size: 0.92em;
}

.top-bar a {
  color: var(--color-topbar-link);
  text-decoration: none;
}

.top-bar a:hover {
  color: #fff;
  text-decoration: underline;
}

.container {
  width: min(1100px, 100% - 1.5rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bar-bg);
  border-bottom: 3px solid var(--nav-bar-border);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
  transition:
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--nav-bar-border);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-shadow:
    2px 0 0 #000,
    -2px 0 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    1.5px 1.5px 0 #000,
    -1.5px -1.5px 0 #000,
    1.5px -1.5px 0 #000,
    -1.5px 1.5px 0 #000,
    3px 3px 0 rgba(0, 0, 0, 0.22);
}

.logo span {
  color: #fff;
}

.logo:hover,
.logo:focus-visible {
  color: #fff;
  text-decoration: none;
}

.header-nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 1.75rem);
  margin-left: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.45rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
  background: var(--nav-cta-bg);
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
  transition:
    background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.header-cta:hover {
  background: var(--nav-cta-bg-hover);
  color: #fff !important;
}

.header-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.header-cta[aria-current="page"] {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.95),
    0 2px 0 rgba(0, 0, 0, 0.16);
}

@media (hover: hover) and (pointer: fine) {
  .header-cta:hover {
    transform: translateY(-1px);
  }
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.25rem;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--nav-link);
  text-decoration: none !important;
  border: 2px solid transparent;
  border-radius: 999px;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.site-nav a:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  border-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    transform: translateY(-1px);
  }
}

.site-nav a[aria-current="page"] {
  background: rgba(0, 0, 0, 0.12);
  color: #000;
  font-weight: 800;
  border-color: rgba(0, 0, 0, 0.18);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-header {
  padding: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-header .container {
  padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.page-header h1 {
  margin: 0.65rem 0 0.65rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
  padding: 0.5rem 0 0.5rem 0.85rem;
  border-left: 5px solid var(--color-border-strong);
  background: var(--color-heading-band);
}

.page-lead {
  margin: 0;
  max-width: 44rem;
  color: var(--color-muted);
  font-size: 1rem;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.section-cta-inline {
  margin: 0;
}

.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-card {
  margin: 0;
  padding: 1.25rem 1.15rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(240, 224, 34, 0.45);
  }
}

.case-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  padding-left: 0.65rem;
  border-left: 4px solid var(--color-border-strong);
}

.case-meta {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.case-card p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.contact-block-large {
  font-size: 1rem;
}

.contact-block-large p {
  margin: 0.45rem 0;
}

.contact-note {
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.875rem;
}

.contact-card-photo {
  margin-top: 1.25rem;
  max-width: min(320px, 100%);
  height: auto;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 2px solid rgba(0, 0, 0, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, top 0.2s;
}

.nav-toggle::before {
  top: 14px;
  box-shadow: 0 7px 0 var(--color-text);
}

.nav-toggle[aria-expanded="true"]::before {
  top: 21px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .header-nav-panel {
    order: 3;
    flex: 1 1 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.1rem;
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-border-strong);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .header-nav-panel.is-open {
    display: flex;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    padding: 0.7rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }

  .header-cta {
    margin-top: 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.hero {
  padding: 0;
  background: var(--color-surface);
  border-bottom: 0px solid var(--color-border);
}

.hero-inner {
  max-width: 42rem;
}

.hero--split {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f7f7f7 0%, #fcffe2 45%, #ffeb95 100%);
}

.hero-inner--split {
  max-width: 100%;
  padding-block: clamp(2.25rem, 6vw, 3.75rem);
}

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
    gap: clamp(1.75rem, 4vw, 3rem);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero--split h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
}

.hero--split .hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

.hero--split .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero__visual {
  position: relative;
  min-height: clamp(220px, 38vw, 380px);
  border-radius: var(--radius);
  
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
  transition:
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero__visual:hover {
    box-shadow: var(--shadow-lift);
    border-color: var(--color-border-strong);
  }
}

@media (min-width: 900px) {
  .hero__visual {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  }
}

.hero__visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
}

.hero__gif {
  width: 100%;
  max-width: 400px;
  flex: 1 1 auto;
  min-height: clamp(160px, 32vw, 260px);
  max-height: clamp(180px, 34vw, 300px);
  margin: 0 auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero__visual:hover .hero__gif {
    transform: translateY(-4px) scale(1.02);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* both：動畫前後狀態都套用關鍵影格，避免部分環境動畫未執行時卡在 opacity:0 */
  .hero--split .hero__eyebrow {
    animation: fade-up 0.55s var(--ease-out) 0.05s both;
  }

  .hero--split h1 {
    animation: fade-up 0.6s var(--ease-out) 0.12s both;
  }

  .hero--split .hero-lead {
    animation: fade-up 0.6s var(--ease-out) 0.2s both;
  }

  .hero--split .hero-actions {
    animation: fade-up 0.6s var(--ease-out) 0.28s both;
  }

  .hero--split .hero__visual {
    animation: hero-visual-in 0.75s var(--ease-out) 0.18s both;
  }
}

.hero:not(.hero--split) {
  padding: clamp(2.5rem, 7vw, 4.25rem) 0;
}

.hero:not(.hero--split) .hero-inner {
  max-width: 42rem;
}

.hero:not(.hero--split) h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-text);
}

.hero:not(.hero--split) .hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

.hero:not(.hero--split) .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.partner-bobcat.section,
.commitment-values.section,
.capabilities.section {
  /*padding-block: 0;*/
}
section#partner-bobcat {
  background: var(--color-surface);
}

.capabilities {
  background: var(--color-bg);
  border-bottom: 0px solid var(--color-border);
}

.capabilities__main {
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.capabilities__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .capabilities__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capabilities__more {
  margin: 1.35rem 0 0;
  text-align: center;
}

.capabilities__more-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.partner-bobcat {
  background: var(--color-bg);
  border-bottom: 0px solid var(--color-border);
}

.partner-bobcat__head,
.commitment-values__head,
.capabilities__head {
 /* background: var(--home-section-head-bg);
  border-bottom: 0px solid rgba(0, 0, 0, 0.05);*/
}

.partner-bobcat__main {
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.commitment-values {
  background: var(--color-bg);
  border-bottom: 0px solid var(--color-border);
}

.commitment-values__body {
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0 clamp(2.25rem, 5vw, 3.5rem);
  background: transparent;
}

.partner-bobcat__title-bar,
.commitment-values__title-bar,
.capabilities__title-bar {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  min-height: 3.15rem;
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--antek-ink);
  line-height: 1.35;
  border: none;
}

.partner-bobcat__title-accent,
.commitment-values__title-accent,
.capabilities__title-accent {
 /* flex-shrink: 0;
  width: var(--home-section-head-accent-w);
  margin-right: 1rem;
  border-radius: 1px;
  background: var(--antek-yellow-dark);
  align-self: stretch;
  min-height: 3.15rem;*/
}

.partner-bobcat__title-text,
.commitment-values__title-text,
.capabilities__title-text {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0;
}

.partner-bobcat__intro {
  max-width: 44rem;
  margin-bottom: 1.35rem;
}

.partner-bobcat__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .partner-bobcat__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-bobcat__card,
.commitment-values__card,
.capabilities__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  padding: 1.35rem 1.35rem 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.partner-bobcat__card{
  background: var(--antek-yellow);
}


@media (hover: hover) and (pointer: fine) {
  .partner-bobcat__card:hover,
  .commitment-values__card:hover,
  .capabilities__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
    border-color: #ced4da;
  }
}

.partner-bobcat__card-head,
.commitment-values__card-head,
.capabilities__card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.partner-bobcat__icon,
.commitment-values__icon,
.capabilities__icon {
  flex-shrink: 0;
  margin-top: 0.12rem;
  font-size: 1.5rem;
  color: var(--color-text);
  line-height: 1;
}

.partner-bobcat__card-title,
.commitment-values__card-title,
.capabilities__card-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--antek-ink);
  line-height: 1.4;
}

.partner-bobcat__card-desc,
.commitment-values__card-desc,
.capabilities__card-desc {
  margin: 0;
  flex-grow: 1;
  max-width: none;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.65;
  text-align: left;
}

.partner-bobcat__card-foot,
.commitment-values__card-foot {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-top: 1.05rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e9ecef;
}

.feature-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    background 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.feature-card-cta:hover {
  border-color: var(--antek-yellow-dark);
  color: var(--antek-ink);
  background: rgba(240, 224, 34, 0.12);
  text-decoration: none;
}

.feature-card-cta:focus-visible {
  outline: 2px solid var(--antek-yellow-dark);
  outline-offset: 2px;
}

.partner-bobcat__text-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.partner-bobcat__text-link--line {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  vertical-align: baseline;
}

.partner-bobcat__text-link--line .bi {
  font-size: 1em;
  flex-shrink: 0;
}

.commitment-values__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .commitment-values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn-primary {
  background: var(--color-brand);
  color: var(--antek-ink);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(240, 224, 34, 0.45);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  color: var(--antek-ink);
  box-shadow: 0 4px 14px rgba(240, 224, 34, 0.5);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: translateY(-2px);
  }
}

.btn-ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn-ghost:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-brand);
  color: var(--color-brand-hover);
}

.section {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.section-alt {
  background: var(--color-surface);
  border-block: 0px solid var(--color-border);
}

.section h2,
.product-section-head h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--color-text);
  padding: 0.4rem 0.75rem;
  border-left: 5px solid var(--color-brand);
  background: var(--color-heading-band);
}

.section h2 {
  margin: 0 0 1.25rem;
}

.section-intro {
  margin: 0 0 1.5rem;
  max-width: 44rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-grid li {
  padding: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .feature-grid li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(240, 224, 34, 0.45);
  }
}

.feature-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-text);
}

.feature-grid p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

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

.card {
  margin: 0;
  padding: 1.2rem 1.1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(240, 224, 34, 0.45);
  }
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  padding-left: 0.55rem;
  border-left: 4px solid var(--color-border-strong);
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.section-cta {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.contact-block {
  font-style: normal;
  margin: 0;
}

.contact-block p {
  margin: 0.35rem 0;
}

.site-footer {
  padding: 1.35rem 0;
  padding-bottom: calc(1.35rem + env(safe-area-inset-bottom, 0px));
  border-top: 3px solid #2a2a2a;
  background: var(--color-footer-bg);
  font-size: 0.8125rem;
  color: var(--color-footer-text);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-inner a {
  color: var(--color-footer-link);
  text-decoration: none;
}

.footer-inner a:hover {
  color: #fff;
  text-decoration: underline;
}

.copyright {
  margin: 0;
}

.map-section {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.map-section-intro code {
  font-size: 0.8em;
  padding: 0.12em 0.35em;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-soft);
  background: #d0d0d0;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-external {
  margin: 1.15rem 0 0;
  text-align: center;
}

@media (max-width: 480px) {
  .map-embed {
    aspect-ratio: 4 / 3;
    max-height: none;
    min-height: 220px;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* —— 產品內容（篩選、搜尋、網格）；頁首橫幅已併入 .page-hero--antek —— */
.product-toolbar {
  background: var(--color-surface);
  border-bottom: 0px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.product-filters--brand {
  flex: 0 1 auto;
  min-width: min(100%, 160px);
}

.product-search {
  flex: 1 1 200px;
  min-width: min(100%, 220px);
  max-width: 320px;
}

.product-search label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.product-search input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-bg-soft);
  color: var(--color-text);
}

.product-search input:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 1px;
  background: var(--color-surface);
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  flex: 2 1 280px;
}

.product-filters__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-right: 0.15rem;
}

.product-filter-select {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  min-width: min(100%, 11rem);
  max-width: 14rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background-color: var(--color-bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.25s var(--ease-out),
    background-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.product-filter-select:focus {
  outline: 2px solid var(--color-brand);
  outline-offset: 1px;
  background-color: var(--color-surface);
  border-color: var(--color-brand);
}

.product-filters--brand .product-filter-select {
  min-width: min(100%, 9rem);
  max-width: 11rem;
}

.product-filter-btn {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-filter-btn:hover {
    background: var(--color-bg-soft);
    border-color: var(--color-brand);
    color: var(--color-brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }
}

@media (hover: none) {
  .product-filter-btn:hover {
    background: var(--color-bg-soft);
    border-color: var(--color-text);
  }
}

.product-filter-btn.is-active {
  background: var(--color-brand);
  color: var(--antek-ink);
  border-color: rgba(0, 0, 0, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .product-filter-btn.is-active:hover {
    transform: none;
    color: var(--antek-ink);
    border-color: rgba(0, 0, 0, 0.22);
    box-shadow: 0 4px 14px rgba(240, 224, 34, 0.5);
  }
}

.product-filter-btn--more {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* 精選產品（首頁／產品頁） */
.featured-product {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.featured-product__head {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0 0;
}

.featured-product__title-bar {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  min-height: 3.15rem;
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--antek-ink);
  line-height: 1.35;
  border: none;
}

.featured-product__title-accent {
  flex-shrink: 0;
  width: 5px;
  margin-right: 0.65rem;
  background: var(--antek-yellow);
  border-radius: 2px;
}

.featured-product__main {
  padding: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}

.featured-product__card {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .featured-product__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: #ced4da;
  }
}

.featured-product__link {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  outline: none;
}

@media (min-width: 720px) {
  .featured-product__link {
    grid-template-columns: minmax(280px, 42%) 1fr;
  }
}

.featured-product__link:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.featured-product__media {
  background: #2a2a2a;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.featured-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-product__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  background: linear-gradient(135deg, var(--antek-yellow) 0%, #f5e6a8 100%);
}

.featured-product__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--antek-ink);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 3px;
}

.featured-product__brand {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
}

.featured-product__name {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--antek-ink);
  line-height: 1.3;
}

.featured-product__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--antek-ink);
  flex: 1;
}

.featured-product__more {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  text-align: center;
}

.featured-product__more-link {
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
}

.featured-product__more-link:hover {
  text-decoration: underline;
}

.product-card__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--antek-ink);
  background: var(--antek-yellow);
  border-radius: 2px;
  vertical-align: middle;
}

.product-card--featured {
  border-color: var(--antek-yellow);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.product-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.product-section-head h2 {
  margin: 0;
}

.product-result-count {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.product-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: stretch;
}

.product-grid--category {
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.product-grid > li {
  display: flex;
  min-height: 0;
}

/* JS 篩選會設 hidden；需壓過上一則 display:flex，否則卡片仍會顯示 */
.product-grid > li[hidden] {
  display: none;
}

/* 產品卡：Antek 類「分類大圖 + 底部標題漸層 + 整卡可點」 */
.product-card {
  margin: 0;
  flex: 1;
  width: 100%;
  min-height: 100%;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-card--category {
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.product-card__link:hover {
  color: inherit;
}

.product-card__link:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.product-card__media-block {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: clamp(200px, 42vw, 280px);
  background: #2a2a2a;
}

.product-card__media-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: background 0.45s var(--ease-out);
}

.product-card__media-block::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 3;
  background: var(--color-brand);
  transform: scaleX(0.28);
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .product-card--category:hover {
    transform: translateY(-8px);
    border-color: rgba(240, 224, 34, 0.75);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.14),
      0 0 0 1px rgba(240, 224, 34, 0.35);
  }

  .product-card--category:hover .product-card__media-block::before {
    background: rgba(0, 0, 0, 0.42);
  }

  .product-card--category:hover .product-card__media-block::after {
    transform: scaleX(1);
  }
}

.product-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #5c5c5c 0%, #3d3d3d 42%, #4a4a4a 100%);
  border: none;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -40deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.04) 10px,
    rgba(255, 255, 255, 0.04) 20px
  );
  pointer-events: none;
}

.product-card__media--photo {
  background: var(--color-bg-input, #1a1a1a);
  padding: 0;
}

.product-card__media--photo::after {
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.product-card__media--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-card--category:hover .product-card__media--photo img {
    transform: scale(1.09);
  }
}

.product-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.94) 0%,
    rgba(10, 10, 10, 0.55) 45%,
    transparent 100%
  );
  pointer-events: none;
}

.product-card--category .product-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 200, 160, 0.95);
  margin-bottom: 0.35rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--color-brand);
}

.product-card--category h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
  min-height: 0;
}

.product-card--category .product-card__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.product-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1 1 auto;
}

.product-card--category .product-card__cta-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.62rem 1.2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--antek-ink);
  background: var(--color-brand);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(240, 224, 34, 0.4);
  transition:
    background 0.28s var(--ease-out),
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    gap 0.28s var(--ease-out);
}

.product-card__cta-icon {
  flex-shrink: 0;
  display: block;
  transition: transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-card--category:hover .product-card__cta-row {
    background: var(--color-brand-hover);
    color: var(--antek-ink);
    gap: 0.65rem;
    transform: translateY(-3px);
    box-shadow:
      0 3px 0 rgba(0, 0, 0, 0.1),
      0 10px 26px rgba(240, 224, 34, 0.48);
  }

  .product-card--category:hover .product-card__cta-icon {
    transform: translateX(5px);
  }

  .product-card--category .product-card__link:active .product-card__cta-row {
    transform: translateY(0);
    box-shadow:
      0 1px 0 rgba(0, 0, 0, 0.15),
      0 3px 10px rgba(240, 224, 34, 0.38);
  }
}

/* 舊版產品卡（若其他頁沿用） */
.product-card:not(.product-card--category) {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}

.product-card:not(.product-card--category) .product-card__media {
  position: relative;
  height: clamp(10rem, 36vw, 12rem);
  border-bottom: 0px solid var(--color-border);
}

.product-card:not(.product-card--category) .product-card__body {
  padding: 1rem 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 10.5rem;
}

.product-card:not(.product-card--category) .product-card__tag {
  color: var(--color-muted);
}

.product-card:not(.product-card--category) h3 {
  color: var(--color-text);
  min-height: 2.75em;
}

.product-card:not(.product-card--category) p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.product-card:not(.product-card--category) .product-card__body > p:not(.product-card__cta) {
  flex: 1 1 auto;
  min-height: 4.65em;
}

.product-card__cta {
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 0.75rem;
}

.product-card__cta a {
  font-size: 0.8125rem;
  font-weight: 600;
}

.product-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius);
  background: var(--color-bg-soft);
}

@media (max-width: 768px) {
  .product-toolbar {
    top: var(--header-h);
  }

  .product-filter-select {
    max-width: 100%;
  }
}

/* —— Antek 類版型：全寬頁首圖、黃色資訊欄、斜紋分隔（對齊 pro-theme.com/html/antek 視覺層級） —— */
.page-hero--antek {
  position: relative;
  padding: 0;
  margin: 0;
  min-height: clamp(220px, 38vw, 360px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: none;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-image:
    linear-gradient(105deg, rgba(15, 15, 15, 0.88) 0%, rgba(35, 35, 35, 0.55) 45%, rgba(20, 20, 20, 0.75) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23333'/%3E%3Cstop offset='1' stop-color='%23111'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='1200' height='600'/%3E%3Cpath fill='%23fce857' fill-opacity='0.09' d='M0 400 L300 200 L600 380 L900 120 L1200 340 L1200 600 L0 600 Z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  max-width: min(1100px, 100% - 1.5rem);
}

.page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
}

.page-hero__crumb--home {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--antek-ink);
  background: var(--antek-yellow);
  border-radius: 2px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.page-hero__crumb--home:hover {
  background: #fff;
  color: var(--antek-ink);
}

.page-hero__crumb-sep {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.page-hero__crumb--here {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-hero__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.page-hero__stripes {
  position: relative;
  z-index: 2;
  height: 14px;
  flex-shrink: 0;
  /*background: repeating-linear-gradient(
    -45deg,
    var(--antek-yellow) 0,
    var(--antek-yellow) 12px,
    var(--antek-ink) 12px,
    var(--antek-ink) 24px
  );*/
}

.page-hero__stripes--tight {
  height: 10px;
}

.contact-antek-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--color-bg-soft);
}

.contact-antek-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 880px) {
  .contact-antek-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.15fr);
    gap: 2rem;
  }
}

.contact-antek-aside {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: linear-gradient(160deg, var(--antek-yellow) 0%, var(--antek-yellow-dark) 100%);
  color: var(--antek-ink);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.contact-antek-aside__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.contact-antek-aside__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--antek-ink);
}

.contact-antek-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-antek-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-antek-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: var(--antek-ink);
}

.contact-antek-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.contact-antek-item__label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.contact-antek-item__value {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--antek-ink);
}

.contact-antek-item__hint {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.85;
}

a.contact-antek-item__link {
  color: var(--antek-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.contact-antek-item__link:hover {
  color: #000;
}

.contact-antek-card {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-antek-card__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--color-text);
}

.contact-antek-card__intro {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.contact-antek-card__address {
  margin: 0;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text);
}

.contact-antek-card__scope {
  margin: 0.5rem 0 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.contact-antek-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.btn-antek-yellow,
.btn-antek-dark,
.btn-antek-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.btn-antek-yellow {
  background: var(--antek-yellow);
  color: var(--antek-ink);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.btn-antek-yellow:hover {
  background: #ffd54a;
  color: #000;
}

.btn-antek-dark {
  background: var(--antek-ink);
  color: #fff;
  border-color: var(--antek-ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

.btn-antek-dark:hover {
  background: #2a2a2a;
  color: #fff;
}

.btn-antek-outline {
  background: transparent;
  color: var(--antek-ink);
  border-color: var(--antek-ink);
  box-shadow: none;
  text-transform: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-antek-outline:hover {
  background: var(--antek-ink);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .btn-antek-yellow:hover,
  .btn-antek-dark:hover,
  .btn-antek-outline:hover {
    transform: translateY(-2px);
  }

  .btn-antek-yellow:active,
  .btn-antek-dark:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  }
}

.contact-antek-band {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  /* Solid yellow at bottom edge — avoids a “fade” into Safari’s toolbar on iOS */
  padding-bottom: calc(clamp(2rem, 4vw, 2.75rem) + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    135deg,
    var(--antek-yellow-dark) 0%,
    var(--antek-yellow) 52%,
    var(--antek-yellow) 100%
  );
  overflow: hidden;
}

.contact-antek-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.contact-antek-band__text {
  margin: 0;
  flex: 1 1 220px;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--antek-ink);
}

.contact-antek-band__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.contact-antek-band__phone-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}

.contact-antek-band__phone {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--antek-ink);
  text-decoration: none;
}

.contact-antek-band__phone:hover {
  text-decoration: underline;
}

/* Floating LINE contact (all pages, desktop + mobile) */
.line-fab {
  --line-green: #06c755;
  position: fixed;
  z-index: 200;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 50%;
  background: var(--line-green);
  color: #fff;
  box-shadow:
    0 4px 16px rgba(6, 199, 85, 0.42),
    0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.line-fab:hover {
  color: #fff;
  text-decoration: none;
}

.line-fab:hover,
.line-fab:focus-visible {
  transform: scale(1.06);
  box-shadow:
    0 6px 20px rgba(6, 199, 85, 0.5),
    0 3px 8px rgba(0, 0, 0, 0.14);
}

.line-fab:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }

  .hero--split .hero__eyebrow,
  .hero--split h1,
  .hero--split .hero-lead,
  .hero--split .hero-actions {
    animation: none !important;
  }

  /* 入場動畫關閉，並取消卡片陰影 transition（仍屬動態效果） */
  .hero--split .hero__visual {
    animation: none !important;
    transition: none !important;
  }

  .hero__gif,
  .hero--split .hero__visual:hover .hero__gif {
    transition: none !important;
    transform: none !important;
  }

  .product-card--category,
  .product-card--category:hover {
    transform: none !important;
  }

  .product-card--category:hover .product-card__media--photo img {
    transform: none !important;
  }

  .product-card__media-block::after,
  .product-card__cta-icon,
  .product-card--category .product-card__cta-row {
    transition: none !important;
  }

  .product-card--category:hover .product-card__cta-row,
  .product-card--category .product-card__link:active .product-card__cta-row {
    transform: none !important;
  }

  .product-filter-btn:hover {
    transform: none !important;
  }

  .btn-antek-yellow:hover,
  .btn-antek-dark:hover,
  .btn-antek-outline:hover,
  .btn-antek-yellow:active,
  .btn-antek-dark:active {
    transform: none !important;
  }

  .line-fab,
  .line-fab:hover,
  .line-fab:focus-visible {
    transition: none;
    transform: none;
  }
}

.line-fab__icon {
  display: flex;
  line-height: 0;
}

.line-fab__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

/* AOS：init 會在 body 加上 data-aos-easing；在此之前或腳本失敗時避免區塊維持透明 */
body:not([data-aos-easing]) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
