:root {
  --orange: #f58200;
  --orange-soft: #fff4e8;
  --ink: #2d2f31;
  --gray: #6e6e6e;
  --line: #e5e1da;
  --paper: #ffffff;
  --warm: #f7f7f5;
  --charcoal: #25282a;
  --teal: #0f6b7a;
  --teal-soft: #e9f4f5;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

html[lang="ja"] body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 84px;
  padding: 0 clamp(20px, 4vw, 56px);
  background: rgba(247, 247, 245, 0.9);
  border-bottom: 1px solid rgba(229, 225, 218, 0.8);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, background 180ms ease;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  overflow: visible;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(45, 47, 49, 0.08);
}

.brand img {
  width: 214px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4d4f51;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a,
.nav-trigger {
  position: relative;
  padding: 8px 0;
}

.site-nav > a::after,
.nav-trigger::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transition: width 180ms ease;
}

.site-nav > a:hover::after,
.nav-item:hover .nav-trigger::after {
  width: 100%;
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  display: none;
  width: 310px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(45, 47, 49, 0.14);
  transform: translateX(-50%);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: grid;
}

.nav-dropdown a {
  display: block;
  padding: 11px 12px;
  color: #4d4f51;
  font-size: 13px;
  line-height: 1.25;
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover {
  color: var(--orange);
  background: var(--orange-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  z-index: 30;
}

.site-header .site-nav {
  margin-left: auto;
  margin-right: 28px; /* gap before language switch */
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(45, 47, 49, 0.1);
}

.language-switch a,
.site-nav .language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: #8a8a8a;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.language-switch a + a,
.site-nav .language-switch a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.language-switch a.is-active,
.site-nav .language-switch a.is-active {
  color: #fff;
  background: var(--orange);
}

.language-switch a:not(.is-active):hover,
.site-nav .language-switch a:not(.is-active):hover {
  color: #fff;
  background: #6e6e6e;
}

.language-switch a::after,
.site-nav .language-switch a::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 30px;
  padding: 118px clamp(24px, 5vw, 64px) 36px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #f2f1ef;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Soft veil so headline text stays readable — no circuit overlay */
.hero-media::before,
.hero-media::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0.88) 0%, rgba(247, 247, 245, 0.62) 42%, rgba(247, 247, 245, 0.28) 100%),
    linear-gradient(180deg, rgba(247, 247, 245, 0.2) 0%, rgba(247, 247, 245, 0.45) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
}

.hero h1 {
  max-width: 680px;
  font-size: 40px;
  line-height: 1.1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  max-width: 820px;
  font-size: 34px;
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.12;
}

h3 {
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 20px;
  color: #4f5356;
  font-size: 16px;
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.hero-panel {
  display: grid;
  align-self: start;
  justify-self: start;
  margin-top: 27px;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(45, 47, 49, 0.12);
}

.hero-panel span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  padding: 14px 16px;
  background: #f1f1f1;
  border: 1px solid #d9d9d9;
  font-size: 14px;
}

.hero-panel strong:nth-of-type(2) {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 10px 28px rgba(245, 130, 0, 0.2);
}

.hero-panel strong:nth-of-type(3) {
  background: var(--teal-soft);
  border-color: #c9dfe3;
}

.hero-panel i {
  width: 2px;
  height: 16px;
  margin: -6px auto;
  background: var(--orange);
}

.global-network {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  overflow: hidden;
  background: var(--charcoal);
}

.global-network-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.global-network-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.global-network-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 21, 22, 0.94) 0%, rgba(20, 21, 22, 0.68) 42%, rgba(20, 21, 22, 0.2) 100%),
    linear-gradient(180deg, rgba(20, 21, 22, 0.1) 0%, rgba(20, 21, 22, 0.35) 100%);
}

.global-network-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 64px clamp(24px, 5vw, 64px);
  color: #fff;
}

.global-network-content .eyebrow {
  color: var(--orange);
}

.global-network-content h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 28px;
}

.global-network-content p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.55;
}

.about-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 48px;
}

.about-banner-media {
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  background: var(--charcoal);
}

.about-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-banner-content .eyebrow {
  color: var(--orange);
}

.about-banner-content h1 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.15;
}

.about-banner-content p {
  max-width: 560px;
  margin-bottom: 12px;
  color: #53575a;
  font-size: 16px;
  line-height: 1.58;
}

.about-banner-content p:last-child {
  margin-bottom: 0;
}

.about-banner-content p strong {
  color: var(--ink);
}

.about-banner-content .overview-label {
  margin-bottom: 6px;
  color: var(--orange);
  font-weight: 800;
}

.about-banner-content .overview-text {
  text-indent: 0;
}

.about-banner-content .overview-text strong.company-name {
  color: var(--ink);
  font-weight: 800;
}

html[lang="ja"] .about-banner-content .overview-text {
  text-indent: 0;
}

.section-band {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.first-section {
  padding-top: 20px;
}

.about-banner .section-inner {
  padding-bottom: 28px;
}

.first-section .section-inner {
  padding-top: 8px;
}

.section-inner,
.capabilities,
.platform-map,
.process,
.rfq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.two-column > p,
.proof-list p {
  color: #53575a;
  font-size: 16px;
  line-height: 1.58;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.capabilities .section-heading {
  max-width: none;
}

.capabilities .section-heading h2 {
  font-size: 24px;
  line-height: 1.1;
  white-space: nowrap;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-masonry {
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  align-items: stretch;
}

.capability-item {
  display: flex;
  flex-direction: column;
  height: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.capability-header {
  padding: 20px 22px 14px;
}

.capability-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0;
  line-height: 1.4;
}

.capability-title .title-number {
  margin-right: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.capability-title .title-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.capability-title .title-dash {
  margin: 0 8px;
  color: var(--gray);
}

.capability-title .title-desc {
  color: var(--gray);
  font-size: 14px;
  font-weight: 400;
}

.capability-title .title-link {
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.category-card {
  min-width: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(45, 47, 49, 0.11);
}

.category-card-large {
  grid-row: auto;
}

.image-frame {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #ecebe7;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
  background: var(--line);
}

.product-thumbnails a {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f6f3;
}

.product-thumbnails a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbnails a:hover img {
  transform: scale(1.045);
}

.product-thumbnails img {
  transition: transform 180ms ease;
}

.product-thumbnails .thumb-empty {
  background: #f7f6f3;
}

.capability-item .product-thumbnails a span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 7px 9px;
  color: #fff;
  background: rgba(37, 40, 42, 0.82);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.capability-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}

.capability-item p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sourcing-visual {
  display: grid;
  place-items: center;
  background: #f7f6f3;
}

.sourcing-placeholder {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
}

.sourcing-placeholder img {
  width: 150px;
  opacity: 0.92;
}

.sourcing-placeholder span {
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
}

.page-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.page-map div {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #fff;
  background: #333638;
  border: 1px solid #4a4d50;
  font-weight: 800;
  text-align: center;
}

.page-map .accent {
  background: var(--orange);
  border-color: var(--orange);
}

.detail-page {
  background: var(--warm);
}

.detail-hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px 28px;
}

.detail-hero h1 {
  max-width: 980px;
  font-size: 26px;
  line-height: 1.12;
}

.detail-hero .hero-copy {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 15px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.back-link::before {
  content: "<";
  margin-right: 10px;
  color: var(--orange);
  font-size: 16px;
}

.about-layout {
  display: grid;
  gap: 12px;
}

.about-intro {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.about-intro h1 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.05;
  white-space: nowrap;
}

.about-intro > p:not(.eyebrow) {
  max-width: 1120px;
  margin-bottom: 12px;
  color: #53575a;
  font-size: 16px;
  line-height: 1.58;
}

.about-intro > p:last-child {
  margin-bottom: 0;
}

.contact-list {
  margin: 0;
  padding: 6px 24px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 8px 0;
}

.contact-list > div + div {
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  color: #53575a;
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-list dd span {
  margin-inline: 10px;
  color: #a6a6a3;
}

.contact-list a:hover {
  color: var(--orange);
}

.electronics-products {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 52px;
}

.electronics-products .section-inner {
  padding: 0;
}

.page-anchor {
  display: block;
  scroll-margin-top: 92px;
}

.featured-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.featured-products article {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;
}

.product-photo {
  min-height: 0;
  height: 160px;
  overflow: hidden;
  background: #ecebe7;
  display: block;
}

.product-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.product-copy {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-copy p:not(.eyebrow) {
  color: #53575a;
  font-size: 16px;
  line-height: 1.6;
}

.product-copy ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
}

.product-copy li::marker {
  color: var(--orange);
}

.product-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.product-detail-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 56px;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.product-detail-gallery img,
.product-detail-gallery video,
.product-detail-gallery iframe {
  width: 100%;
  background: #ecebe7;
  border: 1px solid var(--line);
}

.product-detail-gallery img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-detail-gallery > :first-child,
.product-detail-gallery video,
.product-detail-gallery iframe {
  grid-column: 1 / -1;
}

.product-detail-gallery video,
.product-detail-gallery iframe {
  aspect-ratio: 16 / 9;
}

.product-detail-copy {
  align-self: start;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.product-detail-copy h2 {
  margin: 24px 0 12px;
  font-size: 18px;
}

.product-detail-copy ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.product-detail-copy li::marker {
  color: var(--orange);
}

.product-model {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-specifications {
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) minmax(0, 0.6fr);
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-specifications dt,
.product-specifications dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.product-specifications dt {
  padding-right: 14px;
  color: var(--gray);
  font-weight: 700;
}

.product-inquiry-link {
  margin-top: 24px;
}

.product-unavailable {
  grid-column: 1 / -1;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pcba-detail {
  scroll-margin-top: 84px;
}

.pcba-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}

.pcba-hero p:last-child {
  color: #53575a;
  font-size: 16px;
  line-height: 1.58;
}

.pcba-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
  margin-bottom: 16px;
}

.pcba-photo {
  min-height: 300px;
  overflow: hidden;
  background: #ecebe7;
}

.pcba-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcba-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pcba-stats div {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 130px;
  padding: 16px;
  background: var(--charcoal);
  border: 1px solid #4a4d50;
}

.pcba-stats strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
}

.pcba-stats span {
  color: #cfd3d5;
  font-size: 13px;
  line-height: 1.5;
}

.pcba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pcba-grid article {
  min-width: 0;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.pcba-grid h3 {
  font-size: 18px;
}

.pcba-grid ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.pcba-grid li::marker {
  color: var(--orange);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-grid article {
  min-width: 0;
  padding: 24px;
  background: #fbfbfa;
  border: 1px solid var(--line);
}

.product-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.product-grid h3 {
  font-size: 20px;
}

.product-grid p {
  margin-bottom: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.55;
}

.pcba-systems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pcba-systems article {
  min-width: 0;
  padding: 20px;
  color: #fff;
  background: var(--charcoal);
  border: 1px solid #4a4d50;
}

.pcba-systems h3 {
  font-size: 18px;
}

.pcba-systems p {
  margin-bottom: 0;
  color: #cfd3d5;
  font-size: 14px;
  line-height: 1.6;
}

.pcba-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.pcba-flow div {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--ink);
  background: var(--teal-soft);
  border: 1px solid #c9dfe3;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  min-height: 120px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.steps span {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.45;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.rfq-flow-list {
  display: grid;
  gap: 0;
}

.rfq-flow {
  padding: 22px 0;
}

.rfq-flow + .rfq-flow {
  border-top: 1px solid var(--line);
}

.rfq-flow-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.rfq-flow-header span {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
}

.rfq-flow-header h2 {
  margin: 0;
  font-size: 20px;
}

.rfq-flow {
  padding: 16px 0;
}

.rfq-flow-header {
  margin-bottom: 10px;
}

.rfq-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.rfq-steps {
  display: contents; /* children participate in parent .rfq-row grid */
}

.rfq-step {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.rfq-step span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rfq-step h4 {
  margin: 0;
  font-size: 13px;
}

.rfq-step textarea {
  min-height: 72px;
  padding: 8px;
  border: 1px solid #d9d5ce;
  border-radius: 6px;
  background: #fbfbfa;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  resize: vertical;
}

.rfq-flow-footer {
  display: contents; /* send-card becomes 4th grid cell */
}

.rfq-send-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  align-content: start;
}

.rfq-email-field {
  display: grid;
  gap: 6px;
  color: #4d4f51;
  font-size: 12px;
  font-weight: 800;
}

.rfq-email-field input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #d9d5ce;
  border-radius: 6px;
  background: #fbfbfa;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  width: 100%;
}

.rfq-send-card .button {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 13px;
}

.rfq-send-hint {
  margin: 0;
  color: var(--gray);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
}

.rfq-flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rfq-page .detail-hero {
  padding: 40px 24px 16px;
}

.rfq-page .detail-hero h1 {
  font-size: 22px;
}

.rfq-page .section-inner {
  padding-top: 8px;
  padding-bottom: 24px;
}

.proof-list p {
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.proof-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.rfq-teaser {
  border-top: 1px solid var(--line);
  background: var(--warm);
}

.rfq-teaser-inner {
  max-width: 640px;
  padding: 64px 24px;
  text-align: center;
}

.rfq-teaser-inner .eyebrow {
  color: var(--orange);
}

.rfq-teaser-inner h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.rfq-teaser-inner p {
  margin-bottom: 24px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.58;
}

.rfq {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 40px;
  align-items: start;
}

.rfq-copy p:last-child {
  margin-top: 16px;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

.rfq-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.rfq-form label {
  display: grid;
  gap: 8px;
  color: #4d4f51;
  font-size: 13px;
  font-weight: 800;
}

.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  border: 1px solid #d9d5ce;
  background: #fbfbfa;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.rfq-form input,
.rfq-form select {
  height: 44px;
  padding: 0 12px;
}

.rfq-form textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 24px clamp(24px, 5vw, 64px);
  color: #d8d8d8;
  background: var(--charcoal);
}

.site-footer img {
  width: 210px;
}

.site-footer p {
  margin-bottom: 0;
  text-align: right;
}

.footer-links {
  width: 100%;
  font-size: 11px;
}

.footer-links a {
  color: #b7b7b7;
}

.footer-links a:hover {
  color: #fff;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: #4d4f51;
  font-size: 14px;
  line-height: 1.6;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .rfq-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .rfq-row {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .nav-trigger {
    padding: 14px 0;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    width: auto;
    padding: 0 0 8px 16px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown a {
    padding: 8px 0;
    font-size: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switch a,
  .site-nav .language-switch a {
    min-width: 64px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .two-column,
  .about-banner-inner,
  .product-detail-section,
  .pcba-hero,
  .pcba-showcase,
  .rfq {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding-top: 100px;
  }

  .hero-panel {
    max-width: 430px;
    margin-top: 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .capabilities .section-heading h2 {
    font-size: 22px;
  }

  .capability-grid,
  .pcba-grid,
  .product-grid,
  .pcba-systems,
  .page-map {
    grid-template-columns: 1fr 1fr;
  }

  .category-masonry {
    grid-template-columns: 1fr;
  }

  .category-card-large {
    grid-row: auto;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .global-network {
    min-height: 260px;
  }

  .global-network-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 72px;
    padding-inline: 18px;
  }

  .brand img {
    width: 168px;
    max-height: 48px;
  }

  .site-nav {
    top: 72px;
  }

  .hero {
    padding: 88px 18px 28px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-inner,
  .capabilities,
  .electronics-products,
  .platform-map,
  .process,
  .rfq {
    padding: 40px 18px;
  }

  .global-network-content {
    padding: 40px 18px;
  }

  .global-network-overlay {
    background: linear-gradient(180deg, rgba(20, 21, 22, 0.55) 0%, rgba(20, 21, 22, 0.9) 100%);
  }

  .capability-grid,
  .category-masonry,
  .pcba-grid,
  .pcba-stats,
  .product-grid,
  .pcba-systems,
  .page-map,
  .pcba-flow,
  .steps {
    grid-template-columns: 1fr;
  }

  .capability-item {
    height: auto;
  }

  .image-frame {
    height: 220px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .capabilities .section-heading h2 {
    font-size: 15px;
  }

  .detail-hero {
    padding: 82px 18px 22px;
  }

  .about-intro {
    padding: 20px;
  }

  .about-intro h1 {
    font-size: 21px;
  }

  .about-intro > p:not(.eyebrow) {
    font-size: 15px;
  }

  .contact-list {
    padding-inline: 22px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .contact-list dd {
    font-size: 15px;
  }

  .product-photo {
    min-height: 0;
  }

  .site-footer p {
    text-align: left;
  }
}

/* ============================================================
   THANKGAIN Improvements 2026-08
   1. Homepage Data Cards
   2. Floating WhatsApp Button
   ============================================================ */

/* --- Data Cards (Homepage) --- */
.tg-stats-section {
  padding: 72px 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #fff;
}

.tg-stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.tg-stats-inner .eyebrow {
  color: #fb923c;
  margin-bottom: 8px;
}

.tg-stats-inner h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.tg-stats-lead {
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.tg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tg-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px 16px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: visible;
  min-width: 0;
  box-sizing: border-box;
}

.tg-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tg-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(249, 115, 22, 0.45);
}

.tg-stat-card:hover::before {
  opacity: 1;
}

.tg-stat-number {
  font-size: clamp(1.5rem, 2.8vw, 2.55rem);
  font-weight: 800;
  color: #f97316;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: visible;
}

.tg-stat-unit {
  font-size: 0.85em;
  font-weight: 600;
  color: #fb923c;
}

.tg-stat-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Stats responsive — prevent cutoff on mobile */
@media (max-width: 900px) {
  .tg-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .tg-stat-card {
    padding: 22px 14px 20px;
  }
  .tg-stat-number {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
  }
  .tg-stat-label {
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .tg-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tg-stat-card {
    padding: 18px 10px 16px;
  }
  .tg-stat-number {
    font-size: 1.35rem;
    letter-spacing: -0.01em;
  }
  .tg-stat-label {
    font-size: 0.75rem;
    line-height: 1.35;
  }
  .tg-stats-section {
    padding: 48px 0;
  }
  .tg-stats-inner {
    padding: 0 16px;
  }
}

/* Enhance existing PCBA page stats slightly */
.pcba-stats div {
  border-radius: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pcba-stats div:hover {
  border-color: #f97316;
  transform: translateY(-2px);
}

.pcba-stats strong {
  color: #f97316;
  font-size: 20px;
}


/* ============================================================
   Floating Contact Buttons (Email + WhatsApp / LINE)
   ============================================================ */

/* About Us section item titles — orange */
.about-banner-content .about-item-title {
  color: var(--orange);
  font-weight: 700;
}

/* ============================================================
   Floating Contact Buttons — small circular icons only
   ============================================================ */

.tg-float-stack {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tg-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.tg-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tg-float-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* WeChat copy toast (replaces native alert()) */
.tg-toast {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 260px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--charcoal);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tg-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tg-toast span:first-child {
  font-weight: 800;
}

.tg-toast span:last-child {
  color: #cfcfcf;
}

/* Email — white + orange outline */
.tg-float-email {
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: 0 4px 12px rgba(245, 130, 0, 0.18);
}
.tg-float-email svg {
  fill: var(--orange);
}
.tg-float-email:hover {
  background: var(--orange);
}
.tg-float-email:hover svg {
  fill: #fff;
}

/* WhatsApp official green */
.tg-float-whatsapp {
  background: #25d366;
}
.tg-float-whatsapp svg {
  fill: #fff;
}
.tg-float-whatsapp:hover {
  background: #1ebe57;
}

/* LINE official green */
.tg-float-line {
  background: #06c755;
  overflow: hidden;
  padding: 0;
}
.tg-float-line svg {
  fill: #fff;
}
.tg-float-line img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.tg-float-line:hover {
  background: #05b34c;
  opacity: 0.92;
}

/* WeChat official green */
.tg-float-wechat {
  background: #07c160;
}
.tg-float-wechat svg {
  fill: #fff;
}
.tg-float-wechat:hover {
  background: #06ad56;
}

@media (max-width: 560px) {
  .tg-float-stack {
    right: 12px;
    bottom: 16px;
    gap: 8px;
  }
  .tg-float-btn {
    width: 40px;
    height: 40px;
  }
  .tg-float-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 980px) {
  .site-header .site-nav {
    margin-left: 0;
    margin-right: 0;
  }
  .header-actions {
    margin-left: auto;
  }
}


/* ===== Fan series group cards (Industrial) ===== */
.fan-groups-section .section-heading {
  margin-bottom: 0.35rem;
}
.fan-groups-section .section-lead {
  color: var(--muted, #64748b);
  margin-bottom: 1.5rem;
}
.fan-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.fan-group-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.fan-group-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.fan-group-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f5f9;
}
.fan-group-body {
  padding: 1rem 1.1rem 1.15rem;
}
.fan-group-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.fan-group-body p {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.45;
}
.fan-group-count {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f97316;
}
.fan-products-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.fan-products-toolbar .section-heading {
  margin: 0;
}
.detail-hero .hero-copy {
  max-width: 40rem;
  color: #64748b;
  margin-top: 0.5rem;
}

/* ===== Compact product cards (fan list: image top, specs below) ===== */
.fan-products-section .featured-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.fan-products-section .featured-products article,
.product-card-compact {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0;
  background: var(--paper, #fff);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;
}

.fan-products-section .product-photo,
.product-card-compact .product-photo {
  min-height: 0;
  height: 160px;
  display: block;
  background: #f1f5f9;
}

.fan-products-section .product-photo img,
.product-card-compact .product-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.fan-products-section .product-copy,
.product-card-compact .product-copy {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fan-products-section .product-copy h3,
.product-card-compact .product-copy h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
}

.fan-products-section .product-copy h3 a,
.product-card-compact .product-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.fan-products-section .product-spec-list,
.product-card-compact .product-spec-list {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.fan-products-section .product-spec-list li::marker,
.product-card-compact .product-spec-list li::marker {
  color: var(--orange, #f97316);
}

.fan-products-section .product-detail-link,
.product-card-compact .product-detail-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange, #f97316);
  text-decoration: none;
}

.fan-products-section .product-copy .eyebrow,
.fan-products-section .product-copy > p:not(.eyebrow) {
  display: none; /* hide long summary on compact cards */
}

@media (max-width: 640px) {
  .fan-products-section .featured-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .fan-products-section .product-photo,
  .product-card-compact .product-photo,
  .fan-products-section .product-photo img,
  .product-card-compact .product-photo img {
    height: 120px;
  }
  .fan-products-section .product-copy,
  .product-card-compact .product-copy {
    padding: 10px;
  }
  .fan-products-section .product-copy h3,
  .product-card-compact .product-copy h3 {
    font-size: 13px;
  }
}


/* Unified compact product cards — site-wide list view */
.featured-products .product-copy h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
}
.featured-products .product-copy h3 a {
  color: inherit;
  text-decoration: none;
}
.featured-products .product-copy p:not(.eyebrow) {
  display: none;
}
.featured-products .product-copy .eyebrow {
  font-size: 11px;
  margin: 0 0 4px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.featured-products .product-copy ul,
.featured-products .product-spec-list {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  margin: 0 0 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}
.featured-products .product-detail-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange, #f97316);
  text-decoration: none;
}

@media (max-width: 640px) {
  .featured-products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .featured-products .product-photo,
  .featured-products .product-photo img {
    height: 120px;
  }
  .featured-products .product-copy {
    padding: 10px;
  }
  .featured-products .product-copy h3 {
    font-size: 13px;
  }
}

/* Product detail page keeps large gallery layout */
.product-detail-gallery img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
}


/* ============================================================
   Scroll to top / bottom buttons
   ============================================================ */

.tg-scroll-stack {
  position: fixed;
  left: 18px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tg-scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  padding: 0;
}

.tg-scroll-btn:hover {
  transform: scale(1.08);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.tg-scroll-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.tg-scroll-btn svg path {
  fill: none;
  stroke: currentColor;
}

@media (max-width: 560px) {
  .tg-scroll-stack {
    left: 12px;
    bottom: 16px;
    gap: 6px;
  }
  .tg-scroll-btn {
    width: 36px;
    height: 36px;
  }
  .tg-scroll-btn svg {
    width: 16px;
    height: 16px;
  }
}

