@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

body {
  font-family: 'Noto Sans TC', sans-serif;
  scroll-behavior: smooth;
}

.hero-gradient {
  background: linear-gradient(rgba(45, 35, 15, 0.78), rgba(45, 35, 15, 0.78)),
    url('../images/oemodm-banner2.jpg');
  background-size: cover;
  background-position: center;
}

.process-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.step-number {
  font-family: 'Arial', sans-serif;
  color: transparent;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.equipment-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.equipment-card:hover img {
  transform: scale(1.1);
}

.highlight-border {
  border-left: 4px solid #10b981;
}

.tech-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #B8860B;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
}


*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style:
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style:
}

/* ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com */
*,
::after,
::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb
}

::after,
::before {
  --tw-content: ''
}

:host,
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent
}

body {
  margin: 0;
  line-height: inherit
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit
}

a {
  color: inherit;
  text-decoration: inherit
}

b,
strong {
  font-weight: bolder
}

code,
kbd,
pre,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em
}

small {
  font-size: 80%
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline
}

sub {
  bottom: -.25em
}

sup {
  top: -.5em
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0
}

button,
select {
  text-transform: none
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none
}

:-moz-focusring {
  outline: auto
}

:-moz-ui-invalid {
  box-shadow: none
}

progress {
  vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px
}

::-webkit-search-decoration {
  -webkit-appearance: none
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit
}

summary {
  display: list-item
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0
}

fieldset {
  margin: 0;
  padding: 0
}

legend {
  padding: 0
}

menu,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0
}

dialog {
  padding: 0
}

textarea {
  resize: vertical
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af
}

[role=button],
button {
  cursor: pointer
}

:disabled {
  cursor: default
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle
}

img,
video {
  max-width: 100%;
  height: auto
}

[hidden]:where(:not([hidden=until-found])) {
  display: none
}

.fixed {
  position: fixed
}

.absolute {
  position: absolute
}

.relative {
  position: relative
}

.right-4 {
  right: 1rem
}

.top-2 {
  top: 0.5rem
}

.z-10 {
  z-index: 10
}

.z-50 {
  z-index: 50
}

.mx-auto {
  margin-left: auto;
  margin-right: auto
}

.mb-1 {
  margin-bottom: 0.25rem
}

.mb-10 {
  margin-bottom: 2.5rem
}

.mb-16 {
  margin-bottom: 4rem
}

.mb-2 {
  margin-bottom: 0.5rem
}

.mb-20 {
  margin-bottom: 5rem
}

.mb-3 {
  margin-bottom: 0.75rem
}

.mb-4 {
  margin-bottom: 1rem
}

.mb-6 {
  margin-bottom: 1.5rem
}

.mb-8 {
  margin-bottom: 2rem
}

.ml-10 {
  margin-left: 2.5rem
}

.ml-2 {
  margin-left: 0.5rem
}

.mr-1 {
  margin-right: 0.25rem
}

.mr-2 {
  margin-right: 0.5rem
}

.mr-3 {
  margin-right: 0.75rem
}

.mt-10 {
  margin-top: 2.5rem
}

.mt-2 {
  margin-top: 0.5rem
}

.inline-block {
  display: inline-block
}

.flex {
  display: flex
}

.grid {
  display: grid
}

.hidden {
  display: none
}

.h-14 {
  height: 3.5rem
}

.h-20 {
  height: 5rem
}

.h-64 {
  height: 16rem
}

.h-full {
  height: 100%
}

.h-screen {
  height: 100vh
}

.w-14 {
  width: 3.5rem
}

.w-full {
  width: 100%
}

.max-w-3xl {
  max-width: 48rem
}

.max-w-4xl {
  max-width: 60rem !important;
}

.max-w-7xl {
  max-width: 80rem
}

.flex-shrink-0 {
  flex-shrink: 0
}

.scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.cursor-pointer {
  cursor: pointer
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr))
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.flex-col {
  flex-direction: column
}

.items-center {
  align-items: center
}

.items-baseline {
  align-items: baseline
}

.justify-center {
  justify-content: center
}

.justify-between {
  justify-content: space-between
}

.gap-12 {
  gap: 3rem
}

.gap-16 {
  gap: 4rem
}

.gap-4 {
  gap: 1rem
}

.gap-6 {
  gap: 1.5rem
}

.gap-8 {
  gap: 2rem
}

.gap-x-8 {
  column-gap: 2rem
}

.gap-y-4 {
  row-gap: 1rem
}

.space-x-8> :not([hidden])~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)))
}

.space-y-2> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse))
}

.space-y-6> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse))
}

.space-y-8> :not([hidden])~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse))
}

.overflow-hidden {
  overflow: hidden
}

.rounded-2xl {
  border-radius: 1rem
}

.rounded-3xl {
  border-radius: 1.5rem
}

.rounded-full {
  border-radius: 9999px
}

.rounded-lg {
  border-radius: 0.5rem
}

.rounded-xl {
  border-radius: 0.75rem
}

.border {
  border-width: 1px
}

.border-l-4 {
  border-left-width: 4px
}

.border-t {
  border-top-width: 1px
}

.border-t-4 {
  border-top-width: 4px
}

.border-blue-600 {
  --tw-border-opacity: 1;
  border-color: rgb(37 99 235 / var(--tw-border-opacity, 1))
}

.border-emerald-500 {
  --tw-border-opacity: 1;
  border-color: rgb(16 185 129 / var(--tw-border-opacity, 1))
}

.border-red-500 {
  --tw-border-opacity: 1;
  border-color: rgb(239 68 68 / var(--tw-border-opacity, 1))
}

.border-slate-100 {
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1))
}

.border-slate-700 {
  --tw-border-opacity: 1;
  border-color: rgb(51 65 85 / var(--tw-border-opacity, 1))
}

.border-slate-800 {
  --tw-border-opacity: 1;
  border-color: rgb(30 41 59 / var(--tw-border-opacity, 1))
}

.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1)
}

.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1))
}

.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1))
}

.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1))
}

.bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1))
}

.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1))
}

.bg-slate-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1))
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1)
}

.bg-white\/5 {
  background-color: rgb(255 255 255 / 0.05)
}

.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9)
}

.object-cover {
  object-fit: cover
}

.p-10 {
  padding: 2.5rem
}

.p-12 {
  padding: 3rem
}

.p-3 {
  padding: 0.75rem
}

.p-4 {
  padding: 1rem
}

.p-5 {
  padding: 1.25rem
}

.p-6 {
  padding: 1.5rem
}

.p-8 {
  padding: 2rem
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem
}

.pt-12 {
  padding-top: 3rem
}

.pt-8 {
  padding-top: 2rem
}

.text-center {
  text-align: center
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem
}

.text-5xl {
  font-size: 3rem;
  line-height: 1
}

.text-\[10px\] {
  font-size: 10px
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem
}

.font-black {
  font-weight: 900
}

.font-bold {
  font-weight: 700
}

.font-light {
  font-weight: 300
}

.font-medium {
  font-weight: 500
}

.font-normal {
  font-weight: 400
}

.uppercase {
  text-transform: uppercase
}

.italic {
  font-style: italic
}

.leading-relaxed {
  line-height: 1.625
}

.leading-tight {
  line-height: 1.25
}

.tracking-tight {
  letter-spacing: -0.025em
}

.tracking-wider {
  letter-spacing: 0.05em
}

.text-blue-100 {
  --tw-text-opacity: 1;
  color: rgb(219 234 254 / var(--tw-text-opacity, 1))
}

.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity, 1))
}

.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1))
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1))
}

.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1))
}

.text-emerald-400 {
  --tw-text-opacity: 1;
  color: rgb(52 211 153 / var(--tw-text-opacity, 1))
}

.text-emerald-500 {
  --tw-text-opacity: 1;
  color: rgb(16 185 129 / var(--tw-text-opacity, 1))
}

.text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1))
}

.text-slate-300 {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1))
}

.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1))
}

.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1))
}

.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1))
}

.text-slate-800 {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1))
}

.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1))
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1))
}

.text-white\/20 {
  color: rgb(255 255 255 / 0.2)
}

.text-white\/90 {
  color: rgb(255 255 255 / 0.9)
}

.opacity-20 {
  opacity: 0.2
}

.opacity-70 {
  opacity: 0.7
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

.shadow-blue-200 {
  --tw-shadow-color: #FDE68A;
  --tw-shadow: var(--tw-shadow-colored)
}

.ring-4 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

.ring-blue-100 {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(219 234 254 / var(--tw-ring-opacity, 1))
}

.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)
}

.backdrop-blur-md {
  --tw-backdrop-blur: blur(12px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}

.transition {
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms
}

.duration-500 {
  transition-duration: 500ms
}

.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1))
}

.hover\:text-blue-600:hover {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1))
}

.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sm\:flex-row {
    flex-direction: row
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block
  }

  .md\:w-1\/2 {
    width: 50%
  }

  .md\:w-1\/3 {
    width: 33.333333%
  }

  .md\:w-2\/3 {
    width: 66.666667%
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr))
  }

  .md\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr))
  }

  .md\:flex-row {
    flex-direction: row
  }

  .md\:text-left {
    text-align: left
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem
  }

  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1
  }
}

@media (min-width: 1024px) {
  .lg\:w-1\/2 {
    width: 50%
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .lg\:flex-row {
    flex-direction: row
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem
  }
}


/* ── MFG NEW SECTION ── */
#mfg {
  position: relative;
  overflow: hidden;
  /* background: #0a0f1e; */
}

#mfg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

#mfg::after {
  content: '';
  position: absolute;
  top: -180px;
  left: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 50% 40%, rgba(255, 190, 60, .18) 0%, transparent 70%);
  pointer-events: none;
}

.mfg-inner {
  position: relative;
  z-index: 1;
}

/* Header */
.mfg-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.mfg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mfg-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4A017;
  box-shadow: 0 0 8px #D4A017;
}

.mfg-eyebrow-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: #D4A017;
  text-transform: uppercase;
}

.mfg-h2 {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  /* color: #f8fafc; */
  color: #0a0f1e;
  line-height: 1.3;
  margin-bottom: 10px;
}

.mfg-h2 em {
  font-style: normal;
  color: #D4A017;
}

.mfg-hsub {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  max-width: 480px;
}

/* Stats */
.mfg-stats {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.mfg-stat {
  text-align: center;
  padding: 20px 24px;
  /* border: 1px solid rgba(255, 255, 255, .08); */
  border-radius: 14px;
  /* background: rgba(255, 255, 255, .03); */
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.mfg-stat-n {
  font-size: 30px;
  font-weight: 900;
  /* color: #f8fafc; */
  line-height: 1;
  margin-bottom: 4px;
  color: #0a0f1e;
}

.mfg-stat-n .u {
  font-size: 15px;
  font-weight: 400;
  color: #475569;
  margin-left: 1px;
}

.mfg-stat-l {
  font-size: 11px;
  color: #475569;
  letter-spacing: .05em;
}

/* Equipment grid */
.mfg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2px;
}

.eq-item {
  /* background: #0d1526; */
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
      border-radius: 20px;
}

.eq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 2px 2px 0;
  background: #e2e8f0;
  transition: background .3s;
}

.eq-item:hover::before {
  background: #D4A017;
}

.eq-num {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 68px;
  font-weight: 900;
  /* color: rgba(255, 255, 255, .022); */
  color: rgba(15,23,42,.04);
  line-height: 1;
  user-select: none;
}

.eq-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: #D4A017;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eq-badge::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: #D4A017;
}

.eq-badge-green {
  color: #10b981;
}

.eq-badge-green::before {
  background: #10b981;
}

.eq-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(37, 99, 235, .12);
  border: 1px solid rgba(37, 99, 235, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #F6C15A;
  font-size: 17px;
}

.eq-icon-green {
  background: rgba(16, 185, 129, .1);
  border-color: rgba(16, 185, 129, .2);
  color: #34d399;
}

.eq-title {
  font-size: 17px;
  font-weight: 700;
  /* color: #e2e8f0; */
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.eq-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 18px;
}

.eq-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #D4A017;
  border: 1px solid rgba(59, 130, 246, .3);
  border-radius: 6px;
  padding: 3px 10px;
  background: rgba(59, 130, 246, .06);
}

.eq-tag-green {
  color: #10b981;
  border-color: rgba(16, 185, 129, .3);
  background: rgba(16, 185, 129, .06);
}

/* Capacity banner */
.eq-capacity {
  grid-column: 1 / -1;
  background: #1a1200;
  padding: 44px 56px;
  display: grid;
  grid-template-columns: auto 1px 1fr auto;
  gap: 52px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.eq-capacity::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .06);
}

.eq-capacity::after {
  content: '';
  position: absolute;
  right: 80px;
  top: -140px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 28px solid rgba(255, 255, 255, .04);
}

.cap-num {
  font-size: 68px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}

.cap-unit {
  font-size: 13px;
  color: #F6C15A;
  margin-top: 6px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cap-div {
  background: rgba(255, 255, 255, .15);
  width: 1px;
  height: 60px;
  position: relative;
  z-index: 1;
}

.cap-desc {
  font-size: 14px;
  color: #FDE68A;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.cap-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.cap-chip {
  background: rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 12px 20px;
  min-width: 114px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .08);
}

.cap-chip-t {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.cap-chip-s {
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
  margin-top: 3px;
}

/* Feature strip */
.mfg-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 2px;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.strip-item {
  background: #0d1526;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background .2s;
}

.strip-item:hover {
  background: #111b36;
}

.strip-icon {
  color: #334155;
  font-size: 18px;
  flex-shrink: 0;
  transition: color .2s;
}

.strip-item:hover .strip-icon {
  color: #D4A017;
}

.strip-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

.strip-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 2px;
}

/* RWD */
@media (max-width: 1024px) {
  .mfg-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mfg-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .eq-capacity {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 36px 32px;
  }

  .cap-div {
    display: none;
  }

  .cap-desc {
    grid-column: 1 / -1;
    order: 3;
  }

  .cap-chips {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .mfg-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .mfg-stats {
    width: 100%;
  }

  .mfg-stat {
    flex: 1;
    padding: 14px 10px;
  }

  .mfg-stat-n {
    font-size: 22px;
  }

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

  .eq-item {
    padding: 26px 22px;
  }

  .eq-capacity {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 18px;
  }

  .cap-num {
    font-size: 48px;
  }

  .cap-chips {
    flex-direction: row;
  }

  .mfg-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .mfg-stat-n {
    font-size: 19px;
  }

  .mfg-stats {
    gap: 8px;
  }

  .cap-chips {
    flex-wrap: wrap;
  }

  .cap-chip {
    flex: 1 1 40%;
  }

  .mfg-strip {
    grid-template-columns: 1fr;
  }
}

/* custom */

/* ── 漢堡選單 ── */
.mobile-menu-closed {
  max-height: 0;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-open {
  max-height: 400px;
  transition: max-height 0.3s cubic-bezier(0.0, 0, 0.2, 1);
}

/* 漢堡圖示動畫 */
.hamburger-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.h-0\.5 {
  height: 2px;
}

.mt-1\.5 {
  margin-top: 6px;
}

/* ── 992px 斷點：漢堡選單顯示/隱藏 ── */
/* 992px 以上：隱藏漢堡按鈕、顯示桌面選單 */
@media (min-width: 992px) {
  #hamburger-btn {
    display: none !important;
  }
  #mobile-menu {
    display: none !important;
  }
  .nav-desktop-links {
    display: block !important;
  }
  .nav-contact-desktop {
    display: block !important;
  }
}

/* 992px 以下：顯示漢堡按鈕、隱藏桌面選單 */
@media (max-width: 991px) {
  #hamburger-btn {
    display: flex !important;
  }
  .nav-desktop-links {
    display: none !important;
  }
  .nav-contact-desktop {
    display: none !important;
  }
}


/* ══════════════════════════════════════════════
   金口金屬品牌金色系 — Brand Gold Color System
   ──────────────────────────────────────────────
   --gold-light : #F6C15A  (亮金，icon / accent on dark)
   --gold-main  : #D4A017  (主金，主按鈕 / eyebrow / badge)
   --gold-dark  : #B8860B  (暗金，文字 on light bg)
   --gold-hover : #A0720A  (最深，hover 按鈕)
   --gold-soft  : #FEF9EC  (極淡金，soft bg)
   --gold-pale  : #FDE68A  (淡金黃，on dark 文字/ring)
   ══════════════════════════════════════════════ */

/* ── Tailwind blue class overrides → gold ── */

/* border */
.border-blue-600, .border-brand { border-color: #D4A017 !important; }

/* backgrounds */
.bg-blue-600, .bg-brand        { background-color: #D4A017 !important; }
.bg-blue-50,  .bg-brand-soft   { background-color: #FEF9EC !important; }

/* text */
.text-blue-400, .text-brand-light { color: #F6C15A !important; }
.text-blue-500, .text-brand       { color: #D4A017 !important; }
.text-blue-600, .text-brand       { color: #D4A017 !important; }
.text-blue-700, .text-brand-dark  { color: #B8860B !important; }
.text-blue-100, .text-brand-pale  { color: #FDE68A !important; }

/* hover */
.hover\:bg-blue-700:hover, .hover\:bg-brand-dark:hover { background-color: #A0720A !important; }
.hover\:text-blue-600:hover, .hover\:text-brand:hover  { color: #D4A017 !important; }
.hover\:bg-blue-50:hover, .hover\:bg-brand-soft:hover  { background-color: #FEF9EC !important; }

/* shadow */
.shadow-blue-200, .shadow-brand { --tw-shadow-color: rgba(212,160,23,0.4) !important; }

/* ring */
.ring-blue-100, .ring-brand-pale {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgba(246, 193, 90, 0.35) !important;
}

/* ── MFG section eq-badge / eq-icon / eq-tag blue → gold ── */
.eq-badge          { color: #D4A017 !important; }
.eq-badge::before  { background: #D4A017 !important; }
.eq-icon           { background: rgba(212,160,23,.12) !important; border-color: rgba(212,160,23,.25) !important; color: #F6C15A !important; }
.eq-tag            { color: #D4A017 !important; border-color: rgba(212,160,23,.35) !important; background: rgba(212,160,23,.07) !important; }

/* ── MFG eyebrow dot & text ── */
.mfg-eyebrow-dot   { background: #D4A017 !important; box-shadow: 0 0 8px rgba(212,160,23,.6) !important; }
.mfg-eyebrow-text  { color: #D4A017 !important; }

/* ── MFG h2 em (italic accent) ── */
.mfg-h2 em         { color: #D4A017 !important; }

/* ── MFG eq-item left border hover ── */
.eq-item:hover::before { background: #D4A017 !important; }

/* ── MFG capacity banner ── */
.eq-capacity { background: linear-gradient(135deg, #1a1200 0%, #2d1f00 60%, #3a2800 100%) !important; }
.cap-unit    { color: #F6C15A !important; }
.cap-desc    { color: #FDE68A !important; }

/* ── R&D section bg-blue-600 badge on dark bg ── */
#rd .inline-block.bg-brand {
  background-color: #D4A017 !important;
  color: #1a1200 !important;
}

/* ── Process step 04 highlight card ── */
.process-card.bg-brand {
  background-color: #D4A017 !important;
  box-shadow: 0 20px 25px -5px rgba(212,160,23,0.35) !important;
}

/* ── Nav contact button — dark text on gold for legibility ── */
.nav-contact-desktop a,
.nav-contact-desktop {
  color: #1a1200 !important;
}
#mobile-menu a.block.bg-brand {
  color: #1a1200 !important;
}

/* ── Hero CTA button — dark text on gold ── */
header .bg-brand {
  color: #1a1200 !important;
}

/* ── tech-badge ── */
.tech-badge {
  background: rgba(212,160,23,.1) !important;
  color: #B8860B !important;
}

/* ══════════════════════════════════════════════
   研發實力 & 出口市場區塊 — 對齊 eq-capacity 深黑金風格
   ══════════════════════════════════════════════ */

/* 研發實力整節背景 */
#rd {
  background: linear-gradient(135deg, #1a1200 0%, #2d1f00 60%, #3a2800 100%) !important;
  position: relative;
  overflow: hidden;
}

/* 右上裝飾圓圈（對齊 eq-capacity::before） */
#rd::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 56px solid rgba(246, 193, 90, .06);
  pointer-events: none;
}

/* 第二個裝飾圓圈（對齊 eq-capacity::after） */
#rd::after {
  content: '';
  position: absolute;
  right: 130px;
  top: -170px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 32px solid rgba(246, 193, 90, .04);
  pointer-events: none;
}

/* 出口市場卡片 */
#global .bg-slate-900.rounded-3xl {
  background: linear-gradient(135deg, #1a1200 0%, #2d1f00 60%, #3a2800 100%) !important;
  position: relative;
  overflow: hidden;
}

/* 出口市場卡片裝飾圓圈 */
#global .bg-slate-900.rounded-3xl::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 38px solid rgba(246, 193, 90, .06);
  pointer-events: none;
}

#global .bg-slate-900.rounded-3xl::after {
  content: '';
  position: absolute;
  right: 70px;
  top: -130px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 24px solid rgba(246, 193, 90, .04);
  pointer-events: none;
}

/* OEM/ODM 文字金色 */
#global .text-brand-light {
  color: #F6C15A !important;
}

/* ══════════════════════════════════════════════
   RWD 響應式系統 — 360 / 768 / 1200
   ══════════════════════════════════════════════ */

/* ── 基礎：禁止橫向溢出 ── */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0; /* 解決 flex/grid 子項文字溢出 */
}
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── 通用容器：有適當側邊距，不貼邊 ── */
.container-inner {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* ── 通用 section 垂直間距 ── */
.section-py {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

/* ── 通用 section 標題 ── */
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ══ HERO ══ */
.hero-section {
  min-height: 100svh; /* 手機用 svh 避免地址欄影響 */
  padding-top: 5rem;  /* nav 高度 */
  padding-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.hero-title {
  font-size: clamp(1.6rem, 5vw, 3.75rem);
  line-height: 1.25;
  word-break: break-word;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* ══ PROCESS ══ */
.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

/* ══ R&D ══ */
.rd-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.rd-content { min-width: 0; }
.rd-image   { min-width: 0; }

.rd-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.rd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .rd-layout {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  .rd-content { flex: 1; }
  .rd-image   { flex: 1; }
  .rd-img-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* ══ MFG：修正 inline padding + grid 斷點 ══ */
#mfg {
  padding-top: clamp(3rem, 7vw, 6rem) !important;
  padding-bottom: clamp(3rem, 7vw, 6rem) !important;
}

/* eq-capacity 在小螢幕改為單欄 */
@media (max-width: 639px) {
  .mfg-grid {
    grid-template-columns: 1fr !important;
  }
  .eq-capacity {
    grid-template-columns: 1fr !important;
    padding: 28px 20px !important;
    gap: 16px !important;
  }
  .cap-div { display: none !important; }
  .cap-chips { flex-direction: row !important; flex-wrap: wrap; }
  .cap-chip { flex: 1 1 40%; }
  .eq-item { padding: 24px 20px !important; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .mfg-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (min-width: 1024px) {
  .mfg-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* mfg-header 筆電以下折行 */
@media (max-width: 767px) {
  .mfg-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  .mfg-stats {
    width: 100%;
    justify-content: flex-start;
  }
  .mfg-stat { flex: 1; padding: 14px 10px !important; }
  .mfg-stat-n { font-size: 20px !important; }
  .mfg-h2 { font-size: clamp(1.25rem, 4vw, 1.75rem) !important; }
}

/* ══ QC ══ */
.qc-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .qc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .qc-grid { grid-template-columns: repeat(3, 1fr); } }

/* 認證牆 */
.cert-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.cert-text { width: 100%; }
.cert-badges {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}
@media (min-width: 768px) {
  .cert-layout { flex-direction: row; align-items: center; }
  .cert-text   { width: 33.333%; flex-shrink: 0; }
  .cert-badges {
    flex: 1;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ══ GLOBAL ══ */
.global-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .global-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
  }
}
.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
.industry-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .industry-icons-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ══ NAV logo 尺寸保護 ══ */
nav img {
  max-height: 48px;
  width: auto;
}

/* ══ 禁止 hover transform 在 touch 裝置 ══ */
@media (hover: none) {
  .process-card:hover { transform: none !important; }
  .equipment-card:hover img { transform: none !important; }
  .hover\:shadow-md:hover { box-shadow: none !important; }
}

/* ══ 筆電 (768–1199px) 側邊距補強 ══ */
@media (min-width: 768px) and (max-width: 1199px) {
  .container-inner {
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
  }
}

/* ══ word-break 保護所有文字容器 ══ */
h1, h2, h3, h4, p, li, span {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ══════════════════════════════════════════════
   落單補滿版 & 認證不換行 修正
   ══════════════════════════════════════════════ */

/* ── 通用：2欄 grid 最後落單自動滿版 ── */
/* 用法：在 grid 父層加 .grid-orphan-fill */
.grid-orphan-fill > *:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ── process-grid 640px 雙欄落單 ── */
@media (min-width: 640px) and (max-width: 1023px) {
  .process-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ── qc-grid 768px 雙欄落單 ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .qc-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ── industry-grid 480px 雙欄落單 ── */
@media (min-width: 480px) {
  .industry-grid > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ── 權威國際認證：4格不換行 ── */
/* 手機：2欄固定，文字縮小+不換行 */
.cert-badges {
  grid-template-columns: repeat(4, 1fr) !important; /* 永遠 4 欄 */
  gap: 0.75rem !important;
}
.cert-badges .flex {
  align-items: center;
}
.cert-badges span.font-black {
  font-size: clamp(0.85rem, 3vw, 1.875rem) !important;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  max-width: 100%;
}
.cert-badges .text-slate-400 {
  font-size: clamp(0.6rem, 1.8vw, 0.875rem) !important;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ══════════════════════════════════════════════
   PATCH: eq-capacity 50% / cert 2欄 / 全站最小14px
   ══════════════════════════════════════════════ */

/* ── eq-capacity：991~640px 佔 50%（grid-column span） ── */
/* mfg-grid 在 640~1023 是 repeat(2,1fr)，capacity 佔 1欄=50% */
@media (min-width: 640px) and (max-width: 991px) {
  .eq-capacity {
    grid-column: span 1 !important; /* 佔 1 欄 = 50% */
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;
    gap: 16px !important;
  }
  .cap-div { display: none !important; }
  .cap-chips { flex-direction: row !important; flex-wrap: wrap; gap: 8px; }
  .cap-chip  { flex: 1 1 40%; }
}

/* eq-capacity：992px 以上恢復全寬 */
@media (min-width: 992px) {
  .eq-capacity {
    grid-column: 1 / -1 !important;
  }
}

/* eq-capacity：< 640px 全寬單欄（已有，補強） */
@media (max-width: 639px) {
  .eq-capacity {
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
  }
}

/* ── 權威國際認證：< 640px 改 2 欄 ── */
@media (max-width: 1199px) {

  /* 2欄時文字放大回正常，不需縮很小 */
  .cert-badges span.font-black {
    font-size: clamp(1.1rem, 5vw, 1.5rem) !important;
    white-space: normal !important;
  }

}

/* ── 權威國際認證：< 640px 改 2 欄 ── */
@media (max-width: 639px) {
  .cert-badges {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .cert-badges .text-slate-400 {
    font-size: 0.75rem !important;
    white-space: normal !important;
  }
}

/* ── 全站文字最小 14px ── */
/* 
  字體層級對應（以 14px 為基準）：
  xs   → 14px   (原 0.75rem = 12px → 提升)
  sm   → 14px   (原 0.875rem = 14px → 維持)
  base → 16px   (原 1rem = 16px → 維持)
  lg   → 18px   (原 1.125rem → 維持)
  xl   → 20px   (原 1.25rem → 維持)
  2xl  → 24px
  3xl  → 30px
  所有 clamp 下限統一不低於 0.875rem (14px)
*/

/* hero-sub 下限 14px */
.hero-sub {
  font-size: clamp(0.875rem, 2.5vw, 1.5rem) !important;
}

/* section-title 下限 14px（原 1.5rem 不受影響） */
.section-title {
  font-size: clamp(1.25rem, 3.5vw, 2.25rem) !important;
}

/* mfg-h2 下限維持 */
.mfg-h2 {
  font-size: clamp(1.125rem, 2.5vw, 2rem) !important;
}

/* mfg-hsub 下限 14px */
.mfg-hsub {
  font-size: clamp(0.875rem, 1.5vw, 0.9375rem) !important;
}

/* eq-desc 下限 14px（原 13px） */
.eq-desc {
  font-size: clamp(0.875rem, 1.5vw, 0.875rem) !important;
}

/* eq-title 下限 14px（原 17px，不縮） */
.eq-title {
  font-size: clamp(0.875rem, 2vw, 1.0625rem) !important;
}

/* eq-badge 下限 — 小標，維持 10px 可接受，升到 12px */
.eq-badge, .mfg-eyebrow-text {
  font-size: clamp(0.75rem, 1.2vw, 0.6875rem) !important;
}

/* eq-tag 下限 12px */
.eq-tag {
  font-size: clamp(0.75rem, 1.2vw, 0.6875rem) !important;
}

/* cap-desc 下限 14px（原 14px，維持） */
.cap-desc {
  font-size: clamp(0.875rem, 1.5vw, 0.875rem) !important;
}

/* cap-unit 下限 12px（標籤類可接受） */
.cap-unit {
  font-size: clamp(0.75rem, 1.3vw, 0.8125rem) !important;
}

/* cap-num：大字保持大，手機至少 36px */
.cap-num {
  font-size: clamp(2.25rem, 6vw, 4.25rem) !important;
}

/* mfg-stat-n：最小 18px */
.mfg-stat-n {
  font-size: clamp(1.125rem, 3vw, 1.875rem) !important;
}

/* mfg-stat-l：最小 12px（標籤類） */
.mfg-stat-l {
  font-size: clamp(0.75rem, 1.3vw, 0.6875rem) !important;
}

/* text-sm / text-xs Tailwind 覆寫：全站最小 14px */
.text-sm, .text-xs {
  font-size: max(0.875rem, 14px) !important;
  line-height: 1.5 !important;
}

/* 特例：badge、eyebrow 等裝飾性小字豁免到 12px */
.eq-badge, .eq-tag, .mfg-eyebrow-text,
.cap-unit, .mfg-stat-l,
.cap-chip-s, .strip-text {
  font-size: max(0.75rem, 12px) !important;
}

/* cert-badges 副標 ≥ 12px（已在 4 欄 nowrap 壓縮，2欄放回 14px） */
.cert-badges .text-slate-400 {
  font-size: max(0.75rem, 12px) !important;
}
@media (max-width: 639px) {
  .cert-badges .text-slate-400 {
    font-size: max(0.875rem, 14px) !important;
  }
}

/* ══════════════════════════════════════════════
   全站字型系統 — 電腦版固定值 / 手機版 clamp
   Desktop  : h2=36 / h2-sub=18 / h3=24 / body=16 / aux=15~14
   Mobile   : 最小 14px，層級等比縮小
   ══════════════════════════════════════════════ */

/* ── NAV LOGO ── */
nav img {
  max-height: 60px !important;
  width: auto !important;
}

/* ════ 電腦版 (≥ 992px) 固定字級 ════ */
@media (min-width: 992px) {

  /* h2：36px */
  .section-title,
  #rd h2,
  .mfg-h2 { font-size: 36px !important; line-height: 1.25 !important; }

  /* h2 下方 lead 文字：18px */
  .hero-sub,
  #process .text-lg,
  #rd .text-slate-400.text-lg,
  #mfg .mfg-hsub,
  #qc .text-lg,
  #global .text-lg { font-size: 18px !important; line-height: 1.7 !important; }

  /* h3：24px */
  .process-card h3,
  #rd .space-y-4 h3,
  #qc .text-xl,
  #global h3,
  .eq-title { font-size: 24px !important; line-height: 1.3 !important; }

  /* 一般 body 文字：16px */
  .process-card p,
  #rd .text-slate-400:not(.text-lg),
  #qc .text-slate-500,
  #qc .text-slate-400,
  #global .text-slate-500,
  #global .text-slate-400,
  .eq-desc,
  .cap-desc { font-size: 16px !important; line-height: 1.7 !important; }

  /* 輔助文字：15px */
  .eq-badge,
  .mfg-eyebrow-text,
  .cap-unit,
  .mfg-stat-l,
  .cap-chip-s,
  .cert-badges .text-slate-400,
  nav a { font-size: 15px !important; }

  /* 最小輔助：14px */
  .eq-tag,
  .cap-chip-s,
  .text-xs { font-size: 14px !important; }

  /* mfg stat 數字 */
  .mfg-stat-n { font-size: 30px !important; }

  /* cap 大數字 */
  .cap-num { font-size: 60px !important; }
}

/* ════ 筆電過渡 (768–991px) ════ */
@media (min-width: 768px) and (max-width: 991px) {

  .section-title,
  #rd h2,
  .mfg-h2 { font-size: clamp(1.5rem, 3vw, 2rem) !important; }

  .hero-sub,
  .mfg-hsub,
  #process .text-lg,
  #qc .text-lg,
  #global .text-lg { font-size: clamp(1rem, 2vw, 1.125rem) !important; }

  .process-card h3,
  #rd .space-y-4 h3,
  .eq-title,
  #qc .text-xl { font-size: clamp(1rem, 2.2vw, 1.375rem) !important; }

  .process-card p,
  .eq-desc,
  #qc .text-slate-500,
  #global .text-slate-500 { font-size: 15px !important; }

  .mfg-stat-n { font-size: 24px !important; }
  .cap-num    { font-size: 48px !important; }
}

/* ════ 手機 (< 768px)：最小 14px ════ */
@media (max-width: 767px) {

  .section-title,
  #rd h2,
  .mfg-h2 { font-size: clamp(1.25rem, 5vw, 1.75rem) !important; line-height: 1.3 !important; }

  .hero-title { font-size: clamp(1.375rem, 6vw, 2.25rem) !important; }

  .hero-sub,
  .mfg-hsub,
  #process .text-lg,
  #qc .text-lg,
  #global .text-lg { font-size: 15px !important; }

  .process-card h3,
  #rd .space-y-4 h3,
  .eq-title,
  #qc .text-xl,
  #global h3 { font-size: clamp(1rem, 4vw, 1.25rem) !important; }

  /* body 文字：最小 14px */
  .process-card p,
  .eq-desc,
  #rd .text-slate-400,
  #qc .text-slate-500,
  #qc .text-slate-400,
  #global .text-slate-500,
  #global .text-slate-400,
  .cap-desc { font-size: 14px !important; line-height: 1.65 !important; }

  /* 輔助：最小 14px */
  .eq-badge, .mfg-eyebrow-text,
  .cap-unit, .mfg-stat-l,
  .cert-badges .text-slate-400,
  nav a { font-size: 14px !important; }

  /* 裝飾小字豁免到 12px */
  .eq-tag, .cap-chip-s { font-size: 12px !important; }

  .mfg-stat-n { font-size: 20px !important; }
  .cap-num    { font-size: 36px !important; }

  /* text-sm / text-xs 全局最小 14px */
  .text-sm { font-size: 14px !important; }
  .text-xs { font-size: 14px !important; }
}

/* ── 合作流程：5欄只在 ≥ 1024px ── */
@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  .process-grid .grid-orphan-fill > *:last-child:nth-child(odd) {
    grid-column: auto !important; /* 5欄不做滿版 */
  }
}
/* 5欄時 orphan 規則關閉 */
@media (min-width: 1024px) {
  .process-grid > *:last-child:nth-child(odd) {
    grid-column: auto !important;
  }
}

/* ── 品質控管：3欄只在 ≥ 1024px ── */
@media (min-width: 1024px) {
  .qc-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .qc-grid > *:last-child:nth-child(odd) {
    grid-column: auto !important;
  }
}

/* ══════════════════════════════════════════════
   手機字型系統 — 480px 固定 / 480~768 clamp 過渡
   ══════════════════════════════════════════════ */

/* ── < 480px 全部固定值 ── */
@media (max-width: 479px) {

  nav img { max-height: 40px !important; }

  .section-title,
  #rd h2,
  .mfg-h2     { font-size: 28px !important; line-height: 1.3 !important; }

  .hero-title  { font-size: 24px !important; line-height: 1.3 !important; }

  .hero-sub,
  .mfg-hsub,
  #process .text-lg,
  #qc .text-lg,
  #global .text-lg { font-size: 18px !important; }

  .process-card h3,
  #rd .space-y-4 h3,
  .eq-title,
  #qc .text-xl,
  #global h3  { font-size: 20px !important; }

  .process-card p,
  .eq-desc,
  #rd .text-slate-400,
  #qc .text-slate-500,
  #qc .text-slate-400,
  #global .text-slate-500,
  #global .text-slate-400,
  .cap-desc   { font-size: 16px !important; line-height: 1.65 !important; }

  .eq-badge, .mfg-eyebrow-text,
  .cap-unit, .mfg-stat-l,
  .cert-badges .text-slate-400,
  nav a,
  .text-sm,
  .text-xs    { font-size: 14px !important; }

  .eq-tag, .cap-chip-s { font-size: 14px !important; }

  .mfg-stat-n { font-size: 20px !important; }
  .cap-num    { font-size: 36px !important; }
}

/* ── 480~991px：只對 h2 / h3 / cap-num 做 clamp 過渡 ── */
/* 其餘文字層級固定，不需過渡 */
@media (min-width: 480px) and (max-width: 991px) {

  /* h2：480px=28px → 991px=32px */
  .section-title,
  #rd h2,
  .mfg-h2 {
    font-size: clamp(28px, 3.5vw, 32px) !important;
    line-height: 1.25 !important;
  }

  /* h3：480px=20px → 991px=22px */
  .process-card h3,
  #rd .space-y-4 h3,
  .eq-title,
  #qc .text-xl,
  #global h3 {
    font-size: clamp(20px, 2.5vw, 22px) !important;
    line-height: 1.3 !important;
  }

  /* cap-num：480px=36px → 991px=52px */
  .cap-num {
    font-size: clamp(36px, 6vw, 52px) !important;
  }
}

/* ══════════════════════════════════════════════
   細節修正：QC ul / industry h4 / export / OEM /
   cert 間距 / eq-capacity 圓角 / global 垂直排列
   ══════════════════════════════════════════════ */

/* ── 品質控管 ul 條列 14px ── */
#qc .space-y-2 li,
#qc ul li {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* ── 長期服務 h4：電腦 20px / 991px 以下 18px ── */
.industry-h4 {
  font-size: 20px;
  line-height: 1.3;
}
@media (max-width: 991px) {
  .industry-h4 { font-size: 18px !important; }
}

/* ── 長期服務 h3 / 出口全球 h3：與其他 h3 一致 ── */
.global-industry-h3 {
  font-size: 24px;
  line-height: 1.3;
}
@media (max-width: 991px) {
  .global-industry-h3 { font-size: clamp(20px, 2.5vw, 22px) !important; }
}
@media (max-width: 479px) {
  .global-industry-h3 { font-size: 20px !important; }
}

/* ── 出口全球市場 h3 下方 p：18px ── */
.export-lead {
  font-size: 18px !important;
}
@media (max-width: 767px) {
  .export-lead { font-size: 15px !important; }
}
@media (max-width: 479px) {
  .export-lead { font-size: 14px !important; }
}

/* ── OEM / ODM 比照 h3（24px 電腦 / 過渡 / 手機） ── */
.oem-title {
  font-size: 24px !important;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .oem-title { font-size: clamp(20px, 2.5vw, 22px) !important; }
}
@media (max-width: 479px) {
  .oem-title { font-size: 20px !important; }
}

/* ── Long-term Cooperation & 深受跨國…：14px ── */
.oem-sub,
.oem-desc {
  font-size: 14px !important;
  line-height: 1.6;
}

/* ── 權威國際認證 991px 以下：縮小上方間距 ── */
@media (max-width: 991px) {
  .qc-grid { margin-bottom: 1.5rem !important; }
  #qc .bg-white.rounded-3xl { margin-top: 0 !important; }
}

/* ── eq-capacity 圓角比照兄弟 eq-item（20px） ── */
.eq-capacity {
  border-radius: 20px !important;
  overflow: hidden;
}

/* ── global-layout：永遠垂直排列（單欄） ── */
.global-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

/* ── icon 裝飾與上方間距縮小 ── */
.industry-icons-grid {
  margin-top: 0 !important;
  padding-top: 1.5rem !important;
}

/* ══════════════════════════════════════════════
   Global layout 電腦左右 / 991以下垂直 + OEM 修正
   ══════════════════════════════════════════════ */

/* ── global-layout：電腦 2欄左右，991以下垂直 ── */
.global-layout {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2rem !important;
  align-items: start !important;
  flex-direction: unset !important;
}
@media (max-width: 991px) {
  .global-layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ── 合作流程 h3：只用 CSS 控制大小，不依賴 text-lg ── */
.process-card h3 {
  font-size: 24px;
  line-height: 1.3;
  position: relative;
}
@media (max-width: 991px) {
  .process-card h3 { font-size: clamp(20px, 2.5vw, 22px) !important; }
}
@media (max-width: 479px) {
  .process-card h3 { font-size: 20px !important; }
}

/* ── export-lead 18px ── */
.export-lead {
  font-size: 18px !important;
}
@media (max-width: 767px) {
  .export-lead { font-size: 16px !important; }
}
@media (max-width: 479px) {
  .export-lead { font-size: 15px !important; }
}

/* ── OEM footer：電腦橫排(靠右文字) / 767以下垂直 ── */
.oem-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}
.oem-footer .oem-desc {
  flex: 1;
  min-width: 0;
  text-align: right;  /* 電腦版靠右 */
}
@media (max-width: 767px) {
  .oem-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .oem-footer .oem-desc {
    text-align: left;  /* 手機版靠左 */
  }
}

/* ══════════════════════════════════════════════
   HOVER EFFECTS SYSTEM — 品牌金色互動效果
   ══════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ① 合作流程卡片
   規則：
   - 5張卡全部同樣樣式（包含第4張）
   - 無左側線條
   - 電腦版：hover → 金色背景浮起
   - 手機版 ≤991px：5張全部統一呈現白底+金框樣式（輕量）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 數字外框：預設深色（非黃底狀態） */
.step-number {
  -webkit-text-stroke: 1px rgba(15, 23, 42, .15) !important;
  color: transparent !important;
}

/* 黃底時（hover 狀態）數字外框改白色 */

/* 所有卡片基礎過渡 */
.process-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* 電腦版 hover：5張全部同效果（金底浮起） */
@media (hover: hover) {
  .process-card:hover {
    transform: translateY(-6px) !important;
    background-color: #D4A017 !important;
    box-shadow: 0 16px 40px rgba(212, 160, 23, 0.4), 0 4px 12px rgba(212, 160, 23, 0.2) !important;
    border-color: transparent !important;
    color: #1a1200;
    ring-color: transparent !important;
  }

  .process-card:hover .step-number {
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55) !important;
  }

  .process-card:hover h3 {
    color: #1a1200 !important;
  }

  .process-card:hover p {
    color: rgba(26, 18, 0, 0.82) !important;
  }

}

/* 手機版 ≤991px：5張統一呈現白底 + 金色頂線 + 淡陰影 */
@media (max-width: 991px) {
  .process-card {
    background-color: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid #D4A017 !important;
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.12) !important;
    transform: none !important;
  }

  .process-card h3 {
    color: #B8860B !important;
  }

  .process-card p {
    color: #64748b !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ② 研發實力 三個特點卡 Hover
   背景金色漸亮 + 左側金邊 + icon 旋轉放大
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

#rd .space-y-4 > div {
  transition: background-color 0.35s ease,
              border-color 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
  position: relative;
  border-left: 3px solid transparent;
}

#rd .space-y-4 > div .fas {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s ease;
  display: inline-block;
}

@media (hover: hover) {
  #rd .space-y-4 > div:hover {
    background-color: rgba(212, 160, 23, 0.12) !important;
    border-color: #D4A017 !important;
    transform: translateX(6px);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.15), inset 0 0 0 1px rgba(212, 160, 23, 0.2);
  }

  #rd .space-y-4 > div:hover .fas {
    transform: rotate(15deg) scale(1.25);
    color: #F6C15A !important;
  }

  #rd .space-y-4 > div:hover h3 {
    color: #F6C15A !important;
    transition: color 0.3s ease;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ③ 製造能力 eq-item Hover
   背景微亮 + icon 發光暈光 + 數字浮現
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.eq-item {
  transition: background-color 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
}

.eq-item .eq-num {
  transition: color 0.35s ease, transform 0.35s ease;
}

.eq-item .eq-icon {
  transition: box-shadow 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.35s ease;
}

.eq-item .eq-icon .fas {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

@media (hover: hover) {
  .eq-item:hover {
    background-color: #fff !important;
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(212, 160, 23, 0.15), 0 6px 16px rgba(0,0,0,0.06);
  }

  .eq-item:hover .eq-num {
    color: rgba(212, 160, 23, 0.12);
    transform: scale(1.08) translateX(4px);
  }

  .eq-item:hover .eq-icon {
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.5), 0 0 40px rgba(212, 160, 23, 0.2);
    background-color: rgba(212, 160, 23, 0.18) !important;
    transform: scale(1.1);
  }

  .eq-item:hover .eq-icon .fas {
    transform: rotate(-10deg) scale(1.15);
  }

  .eq-item:hover .eq-title {
    color: #D4A017 !important;
    transition: color 0.3s ease;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ④ 品質控管 QC 卡片 Hover
   頂部邊框 4px→8px + 微上移 + icon 放大旋轉
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.qc-grid > div {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-top-width 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* 底部光暈條 */
.qc-grid > div::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.4), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.qc-grid > div .w-14 {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
}

.qc-grid > div .fas {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

@media (hover: hover) {
  .qc-grid > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
    border-top-width: 8px !important;
  }

  .qc-grid > div:hover::after {
    transform: scaleX(1);
  }

  .qc-grid > div:hover .w-14 {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }

  .qc-grid > div:hover .fas {
    transform: rotate(15deg) scale(1.1);
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ⑤ 全球實績 產業卡片 Hover
   左側彩條加寬 + 微上移 + 文字右移（不改背景色）
   白板保持：padding-left 補償邊框擴張防止換行
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.industry-grid > div {
  transition: border-left-width 0.25s ease,
              padding-left 0.25s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
  /* 預設 border-left-width: 4px; padding-left: 1.25rem (p-5) */
}

.industry-grid > div h4,
.industry-grid > div p {
  transition: transform 0.35s ease, color 0.3s ease;
  white-space: normal;
  word-break: keep-all; /* 防止中文因 translateX 換行 */
}

@media (hover: hover) {
  .industry-grid > div:hover {
    border-left-width: 8px !important;
    padding-left: calc(1.25rem - 4px) !important; /* 補回多出的 4px，防止文字換行 */
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
    /* 背景色不變，保持原本 bg-slate-50 */
  }

  .industry-grid > div:hover h4 {
    transform: translateX(4px);
    color: #B8860B !important;
  }

  .industry-grid > div:hover p {
    transform: translateX(4px);
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Nav 連結 Hover — 金色滑入底線
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: #D4A017;
  border-radius: 1px;
  transition: left 0.3s ease, right 0.3s ease;
}

@media (hover: hover) {
  .nav-link:hover::after {
    left: 0.75rem;
    right: 0.75rem;
  }
}

/* ── 外容器：限制溢出、定位基準 ── */
.rd-carousel {
  position: relative;
  width: 100%;
  border-radius: 1.5rem;
  /* 對應 rounded-3xl */
  overflow: hidden;
  background: #0f172a;
  /* 切換時黑底過渡 */
}

/* ── 軌道：相對定位，高度由 .active img 撐起 ── */
.rd-track {
  position: relative;
  width: 100%;
  /* aspect-ratio 讓高度固定，避免圖片尺寸不一時跳動 */
  /* aspect-ratio: 4 / 3; */
  padding-bottom: 75%;
   height: 0;
   overflow: hidden;
}

/* ── 每一張圖：絕對疊放，預設不可見 ── */
.rd-slide {
  position: absolute;
  /* inset: 0; */
   top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  /* 淡入淡出時間 */
}

.rd-slide.active {
  opacity: 1;
}

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

/* ── 左右箭頭按鈕 ── */
.rd-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 半透明深底 */
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  font-size: 0.85rem;
  /* 過渡 */
  transition: background 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.rd-btn-prev {
  left: 0.75rem;
}

.rd-btn-next {
  right: 0.75rem;
}

/* hover 時：金色底 + 微放大 */
@media (hover: hover) {
  .rd-btn:hover {
    background: rgba(212, 160, 23, 0.85);
    transform: translateY(-50%) scale(1.1);
  }
}

/* 手機縮小箭頭 */
@media (max-width: 479px) {
  .rd-btn {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }

  .rd-btn-prev {
    left: 0.5rem;
  }

  .rd-btn-next {
    right: 0.5rem;
  }
}

/* ── 圓點指示器 ── */
.rd-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.4rem;
}

.rd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.rd-dot.active {
  background: #D4A017;
  /* 品牌金色 */
  transform: scale(1.35);
}

@media (hover: hover) {
  .rd-dot:hover {
    background: rgba(212, 160, 23, 0.7);
  }
}

/* ── 舊有 .rd-img-wrap / .rd-img 相容保留（避免報錯） ── */
.rd-img-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
}

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

/* ╚══ END Carousel ══╗ */