html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }

header.site-header img {
  height: 75px;
  width: auto;
  max-width: none;
}
header.site-header nav a,
header.site-header nav button {
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  header.site-header > div {
    height: 4.75rem;
    gap: 0.75rem;
  }
  header.site-header img {
    height: 52px;
  }
  header.site-header .header-lang-btn {
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.45rem;
  }
  header.site-header .header-lang-caret { display: none; }
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .header-tools {
    gap: 0.85rem;
    margin-left: 0.35rem;
    padding-left: 0.75rem;
  
  }
}
@media (min-width: 1280px) {
  header.site-header nav a.link-underline { padding-left: 0.55rem; padding-right: 0.55rem; }
}
@media (max-width: 1399px) {
  header.site-header .header-brand { display: none; }
}
.drawer .header-tools {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0.85rem 0.15rem 0.35rem;
  padding: 0.85rem 0.35rem 0;
  border-left: 0;
  border-top: 1px solid #e8ecf2;
  gap: 0.85rem;
}
.header-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
}
.header-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0E2F66;
  text-decoration: none;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.header-contact a + a {
  padding-top: 0.28rem;
  border-top: 1px solid #e8ecf2;
}
.header-contact a > span:last-child {
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.header-contact a:hover > span:last-child { color: #0a2249; }
.header-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(1.45rem, 1.6vw, 1.85rem);
  height: clamp(1.45rem, 1.6vw, 1.85rem);
  border-radius: 9999px;
  background: rgba(14, 47, 102, 0.1);
  color: #0E2F66;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  header.site-header .header-contact {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  header.site-header .header-contact a {
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
  header.site-header .header-contact a + a {
    border-top: 0;
    padding-top: 0;
  }
  header.site-header .header-contact a > span:last-child {
    overflow: hidden;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    clip: rect(0, 0, 0, 0);
  }
  header.site-header .header-contact-icon {
    width: 2.35rem;
    height: 2.35rem;
  }
}
.header-lang { position: relative; flex-shrink: 0; }
.header-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 0.15rem 0.1rem;
  border: 0;
  background: transparent;
  color: #0E2F66;
}
.header-lang-btn::-webkit-details-marker,
.header-lang summary::-webkit-details-marker { display: none; }
.header-lang summary { list-style: none; }
.header-lang-globe {
  width: clamp(16px, 1.35vw, 18px);
  height: clamp(16px, 1.35vw, 18px);
  flex-shrink: 0;
  opacity: 0.85;
}
.header-lang-label {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 1023px) {
  header.site-header .header-lang-label { display: none; }
}
.header-lang-caret {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform .2s;
}
.header-lang-btn:hover .header-lang-globe,
.header-lang-btn:hover .header-lang-label { opacity: 1; }
.header-lang[open] .header-lang-caret { transform: rotate(180deg); }
.header-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.65rem);
  min-width: 11.5rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid #e8ecf2;
  box-shadow: 0 16px 40px rgba(14, 47, 102, 0.12);
  z-index: 70;
}
.header-lang-menu::before {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid #e8ecf2;
  border-top: 1px solid #e8ecf2;
  transform: rotate(45deg);
}
.header-lang-menu a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem 0.45rem 2.1rem;
  color: #333;
  text-decoration: none;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.3;
}
.header-lang-menu a:hover {
  background: #f4f6fa;
  color: #0E2F66;
}
.header-lang-menu a.is-current {
  color: #0E2F66;
  font-weight: 600;
  background: rgba(14, 47, 102, 0.06);
}
.header-lang-check {
  position: absolute;
  left: 0.55rem;
  width: 14px;
  height: 14px;
  color: #0E2F66;
}
.drawer .header-contact a { font-size: 15px; }
.drawer .header-contact-icon {
  width: 2.1rem;
  height: 2.1rem;
}
.drawer .header-lang { width: 100%; margin-left: 0; }
.drawer .header-lang-btn {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #e8ecf2;
  background: #f7f8fb;
}
.drawer .header-lang-label { font-size: 15px; }
.drawer .header-lang-menu a {
  min-height: 2.6rem;
  font-size: 15px;
}
.drawer .header-lang-menu {
  position: static;
  display: none;
  min-width: 0;
  margin-top: 0.35rem;
  box-shadow: none;
}
.drawer .header-lang-menu::before { display: none; }
.drawer .header-lang[open] .header-lang-menu { display: block; }

.products-row { scrollbar-width: none; -ms-overflow-style: none; }
.products-row::-webkit-scrollbar { display: none; }

.nav-drop { position: relative; }
.nav-drop-panel {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 200px;
  transform: translateX(-50%);
  padding-top: 0.5rem;
  z-index: 50;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel { display: block; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.drawer.is-open { pointer-events: auto; }
.drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  transition: opacity .25s;
}
.drawer.is-open .drawer-mask { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(20rem, 85vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer-panel nav {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1.25rem;
}
.drawer.is-open .drawer-panel { transform: translateX(0); }

.solutions-accordion:hover .solution-card { flex: 0.5; }
.solutions-accordion .solution-card:hover { flex: 2; }

.solution-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.solution-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #fff;
  transition: width .3s ease;
}
.solution-link:hover::after { width: 100%; }

@keyframes factory-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll {
  animation: factory-scroll 30s linear infinite;
}
.animate-scroll:hover { animation-play-state: paused; }

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.in { opacity: 1; transform: none; }

#backtop {
  position: fixed;
  right: 1.5rem;
  bottom: 6.5rem;
  z-index: 50;
  display: none;
  width: 3rem; height: 3rem;
  border: 0; border-radius: 9999px;
  background: #0E2F66; color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .2);
}
#backtop.show { display: flex; align-items: center; justify-content: center; }
#backtop:hover { background: #0a2249; transform: scale(1.1); }

.site-input, .site-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: #111;
  background: #fff;
}
.site-input { height: 2.75rem; }
.site-textarea { resize: none; }
.site-input:focus, .site-textarea:focus {
  outline: none;
  border-color: #0E2F66;
}
.site-error { color: #dc2626; font-size: 13px; margin-top: 4px; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.4rem;
  font-size: 14px;
  color: #666;
  padding: 0.25rem 0 0.5rem;
}
.crumb-label { color: #999; }
.crumb a { color: #0E2F66; }
.crumb a:hover { text-decoration: underline; }
.crumb-sep { color: #ccc; }
.crumb-current { color: #333; font-weight: 600; }

.product-show { padding-bottom: 1rem; }
.product-hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .product-hero-grid { grid-template-columns: 1fr 1fr; gap: 3.75rem; }
}
.product-gallery-frame {
  overflow: hidden;
  background: #fff;
}
.product-gallery-frame img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}
.product-thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.product-thumb {
  padding: 0;
  border: 2px solid #e8ecf2;
  background: #fff;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.product-thumb.is-active {
  border-color: #0E2F66;
  box-shadow: 0 0 0 1px #0E2F66;
}
.product-thumb:hover { border-color: #0E2F66; }
.product-thumb img { width: 4rem; height: 4rem; object-fit: cover; display: block; }
.product-kicker {
  margin: 0 0 0.45rem;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #0E2F66;
  font-weight: 600;
}
.product-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0E2F66;
}
.product-summary {
  margin: 0.85rem 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: #666;
}
.product-cta-panel {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: #f6f8fc;
  border: 1px solid #e4e9f1;
  border-radius: 4px;
}
.product-contact-list {
  display: flex;
  flex-direction: column;
}
.product-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.15rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #e4e9f1;
  transition: background .2s;
}
.product-contact-item:last-child { border-bottom: 0; }
.product-contact-item:hover .pci-value { text-decoration: underline; }
.pci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  background: rgba(14, 47, 102, 0.1);
  color: #0E2F66;
  flex-shrink: 0;
}
.pci-text { display: flex; flex-direction: column; min-width: 0; }
.pci-label { font-size: 12px; color: #888; line-height: 1.3; }
.pci-value {
  font-size: 15px;
  font-weight: 600;
  color: #0E2F66;
  line-height: 1.4;
  word-break: break-all;
}
.product-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  width: 100%;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  background: #0E2F66;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(14, 47, 102, 0.22);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.product-quote-btn:hover {
  background: #0a2249;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 47, 102, 0.28);
}
.product-spec {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8eaf0;
}
.product-spec > h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0E2F66;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.product-spec > h2::before {
  content: "";
  width: 4px;
  height: 1.15em;
  background: #0E2F66;
  flex-shrink: 0;
}
.product-body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0E2F66;
}
.product-body p { color: #444; }
.inquiry-block {
  scroll-margin-top: 140px;
  margin-top: 2.75rem;
}
.inquiry-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(14, 47, 102, 0.06);
}
.inquiry-head {
  padding: 1.35rem 1.5rem 1.25rem;
  background: linear-gradient(105deg, #0E2F66 0%, #163a78 72%, #1b4a8c 100%);
  color: #fff;
}
@media (min-width: 768px) {
  .inquiry-head { padding: 1.6rem 2.25rem 1.45rem; }
}
.inquiry-head h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.inquiry-head h2::before {
  content: "";
  width: 4px;
  height: 1.1em;
  background: #fff;
  flex-shrink: 0;
}
.inquiry-head p {
  margin: 0.65rem 0 0 0.95rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}
.inquiry-head strong { color: #fff; font-weight: 600; }
.inquiry-form { padding: 1.5rem 1.35rem 1.6rem; }
@media (min-width: 768px) {
  .inquiry-form { padding: 2rem 2.25rem 2.1rem; }
}
.inquiry-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 640px) {
  .inquiry-grid { grid-template-columns: 1fr 1fr; }
}
.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 1.15rem;
}
.inquiry-grid .inquiry-field { margin-top: 0; }
.inquiry-label { font-weight: 600; color: #1a1a1a; line-height: 1.4; }
.inquiry-field .req { color: #c81e1e; font-weight: 700; }
.inquiry-field-hint .inquiry-label { font-size: 14px; }
.inquiry-field-hint p {
  margin: 0;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0 0.9rem;
  background: #eef2f8;
  border: 1px solid #d7deea;
  border-radius: 4px;
  color: #0E2F66;
  font-weight: 600;
  font-size: 14px;
}
.inquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  height: 3rem;
  min-width: 10.5rem;
  padding: 0 2.25rem;
  border: 0;
  border-radius: 9999px;
  background: #0E2F66;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(14, 47, 102, 0.22);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.inquiry-submit:hover {
  background: #0a2249;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(14, 47, 102, 0.28);
}
.inquiry-form .site-input,
.inquiry-form .site-textarea {
  font-weight: 400;
  border-color: #d7dde6;
  background: #fff;
}
.inquiry-form .site-input:focus,
.inquiry-form .site-textarea:focus {
  border-color: #0E2F66;
  box-shadow: 0 0 0 3px rgba(14, 47, 102, 0.12);
}
.map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
.article-body img, .product-body img {
  max-width: 100%;
  height: auto;
}
.article-body p, .product-body p { margin: 0.75em 0; line-height: 1.8; }
.product-body table, .article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 14px;
  overflow: hidden;
  border: 1px solid #e4e9f1;
}
.product-body th, .product-body td, .article-body th, .article-body td {
  border: 1px solid #e4e9f1;
  padding: 0.6rem 0.8rem;
  text-align: left;
}
.product-body th, .article-body th {
  background: #0E2F66;
  color: #fff;
  font-weight: 600;
  border-color: #0E2F66;
}
.product-body tr:nth-child(even) td,
.article-body tr:nth-child(even) td { background: #f6f8fb; }

@media (max-width: 1024px) {
  .solutions-accordion {
    flex-direction: column;
    height: auto !important;
  }
  .solution-card {
    flex: none !important;
    height: 200px;
  }
  .solution-card:hover { height: 300px; }
}
@media (max-width: 640px) {
  .solution-card { height: 180px; }
  .solution-card:hover { height: 280px; }
  #home-search-bar .search-hot,
  #home-search-bar .search-phone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .animate-scroll, .reveal { animation: none; transition: none; }
  .product-quote-btn, .inquiry-submit { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}
