:root {
  --ink: #24364a;
  --ink-2: #53667c;
  --blue: #2f7dcc;
  --cyan: #6ed9f4;
  --red: #1d65b7;
  --paper: #f7fbff;
  --paper-2: #edf7fc;
  --white: #fff;
  --line: #d7e0eb;
  --muted: #657389;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 18px 48px rgba(9, 28, 54, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(180deg, #f7f9fc 0%, #edf3f9 48%, #f8fafc 100%);
}

html[lang="zh-TW"] body,
html[lang="zh-TW"] button,
html[lang="zh-TW"] input,
html[lang="zh-TW"] select,
html[lang="zh-TW"] textarea {
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Heiti TC", "Helvetica Neue", Arial, sans-serif;
}

html[lang="zh-CN"] body,
html[lang="zh-CN"] button,
html[lang="zh-CN"] input,
html[lang="zh-CN"] select,
html[lang="zh-CN"] textarea {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(215,224,235,.78);
  box-shadow: 0 10px 28px rgba(31, 74, 112, .08);
  backdrop-filter: blur(14px);
  transition: padding .2s ease, background .2s ease;
}

.site-header.is-scrolled,
.site-header.compact {
  padding-block: 10px;
  background: rgba(255,255,255,.98);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(31,74,112,.14);
}

.brand span { display: grid; line-height: 1.12; }
.brand strong {
  font-size: 30px;
  letter-spacing: 0;
  font-weight: 900;
}
.brand small {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  opacity: .9;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
  border-color: var(--cyan);
}

.nav-cta {
  border: 1px solid var(--line);
  background: #eef8ff;
  padding: 9px 14px;
  border-radius: var(--radius);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 10px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  color: var(--ink);
  padding: 142px clamp(20px, 6vw, 86px) 94px;
  overflow: hidden;
  background: #f1f8fc;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(.92) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(248,252,255,.94), rgba(240,248,252,.78) 52%, rgba(255,255,255,.38)),
    linear-gradient(0deg, rgba(248,251,255,.88), transparent 54%);
}

.hero-content,
.hero-points {
  position: relative;
  z-index: 2;
}

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

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(215,224,235,.9);
  box-shadow: 0 10px 28px rgba(31,74,112,.08);
}
.hero-logo img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: cover;
}
.hero-logo span { font-size: 22px; font-weight: 900; }
.hero-logo.small img { width: 48px; height: 48px; }
.hero-logo.small span { font-size: 18px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--blue); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}
h2 {
  position: relative;
  margin-bottom: 18px;
  padding-left: 18px;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}
h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 5px;
  height: 1.25em;
  border-radius: 2px;
  background: linear-gradient(180deg, #1d65b7, #66d0ef);
}
h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.32;
}

.hero-lead {
  max-width: 800px;
  color: #40516a;
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero-actions,
.contact-actions,
.card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(12,28,54,.16);
}
.button.primary { background: var(--cyan); color: #03121f; border-color: #19bde6; }
.button.secondary { background: var(--white); color: var(--ink); border-color: var(--line); }
.button.outline { background: rgba(255,255,255,.78); color: var(--ink); border-color: var(--line); }
.button.small { min-height: 40px; padding: 9px 15px; color: var(--white); background: var(--blue); }
.button.consult {
  min-height: 40px;
  color: #fff;
  border-color: #4f8ee8;
  background: linear-gradient(135deg, #4f8ee8 0%, #5cc7df 100%);
  box-shadow: 0 10px 22px rgba(58, 126, 205, .22), inset 0 1px 0 rgba(255,255,255,.28);
}
.button.primary,
.button.secondary,
.filter-button,
.video-tab,
.file-picker-button,
.nav-cta {
  background-image: linear-gradient(135deg, rgba(255,255,255,.2), rgba(91,199,223,.14));
}
.button.primary,
.filter-button.is-active,
.video-tab.is-active {
  background: linear-gradient(135deg, #2f80d0 0%, #5cc7df 100%);
  box-shadow: 0 10px 22px rgba(58, 126, 205, .2), inset 0 1px 0 rgba(255,255,255,.28);
}
.button.secondary,
.filter-button,
.video-tab,
.nav-cta {
  background: linear-gradient(135deg, #ffffff 0%, #f2f8fc 100%);
}
.button.consult:hover,
.button.consult:focus-visible {
  border-color: #3b7fd8;
  background: linear-gradient(135deg, #3f7fd6 0%, #45bfd8 100%);
  box-shadow: 0 14px 30px rgba(58, 126, 205, .28), inset 0 1px 0 rgba(255,255,255,.32);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  margin-top: 34px;
}
.hero-points span {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(215,224,235,.82);
  font-weight: 800;
}

.manufacturing-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin: -36px clamp(20px, 6vw, 86px) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}
.manufacturing-item {
  display: grid;
  align-content: center;
  min-height: 108px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #edf4fb);
  transition: background .16s ease, transform .16s ease;
}
.manufacturing-item:hover { transform: translateY(-2px); background: linear-gradient(135deg, #e9f8fc, #fff); }
.manufacturing-item strong { color: var(--red); font-size: 26px; line-height: 1; }
.manufacturing-item span { color: var(--ink); font-weight: 900; }

.news-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 22px clamp(20px, 6vw, 86px) 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #eef4fb);
  box-shadow: 0 8px 24px rgba(9,28,54,.07);
}
.news-strip div {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
}
.news-strip div span {
  color: var(--muted);
  font-size: 13px;
}
.news-strip p {
  margin: 0;
  color: #40516a;
}
.news-strip a {
  color: var(--blue);
  font-weight: 900;
}

.section {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 6vw, 86px);
}

.corporate-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 30px;
  background: linear-gradient(180deg, #f8fafc, #edf4fb);
}
.corporate-link {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff, #f0f6fb);
  box-shadow: 0 10px 28px rgba(20,42,70,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.corporate-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.corporate-link span {
  color: var(--blue);
  font-weight: 900;
}
.corporate-link p {
  margin: 0;
  color: var(--muted);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: linear-gradient(180deg, #fff, #f1f6fb);
}
.stat {
  padding: 18px 20px;
  border-left: 4px solid var(--red);
  background: rgba(255,255,255,.74);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(9,28,54,.06);
}
.stat strong { display: block; color: var(--blue); font-size: clamp(34px, 5vw, 56px); line-height: 1; }
.stat span { color: var(--muted); font-weight: 800; }

.intro-grid,
.value-section,
.customization-section,
.company-story,
.inquiry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.copy-block p { color: #40516a; font-size: 17px; }

.feature-list,
.custom-list {
  display: grid;
  gap: 12px;
}
.feature-pill,
.custom-list span {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff, #eef4fb);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.feature-pill.is-active,
.feature-pill:hover {
  border-color: var(--cyan);
  background: linear-gradient(135deg, #e7f8ff, #fff);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.section-heading p { max-width: 720px; color: var(--muted); }
.text-link { color: var(--blue); font-weight: 900; }

.product-grid,
.assurance-grid,
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.product-card,
.catalog-card,
.assurance-grid article,
.capability-grid article,
.service-list > div {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f6f9fc);
  box-shadow: 0 12px 34px rgba(20,42,70,.08);
}
.product-card,
.catalog-card { transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover,
.catalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-media,
.catalog-media {
  position: relative;
  overflow: hidden;
  background: #f3f8fc;
}
.product-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.product-media::after,
.catalog-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.72));
}
.product-media span,
.catalog-media span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 5px 9px;
  border-left: 3px solid var(--red);
  border-radius: 5px;
  color: var(--ink);
  background: rgba(255,255,255,.84);
  font-weight: 900;
  font-size: 13px;
}
.product-card > div:not(.product-media) { padding: 22px; }
.product-card p,
.catalog-card p,
.catalog-card li { color: var(--muted); }
.card-action { color: var(--blue); font-weight: 900; }

.customization-section {
  background: linear-gradient(135deg, #edf4fb, #ffffff 52%, #e9f8ff);
}

.video-link-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: linear-gradient(135deg, #f7fbff, #e7f7fc 56%, #ffffff);
}
.value-section .copy-block h2,
.video-link-section .copy-block h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
}
.video-link-section .button { width: fit-content; margin-top: 8px; }
.video-preview-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.video-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .24s ease;
}
.video-preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.72));
}
.video-preview-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 7px 12px;
  border-left: 3px solid var(--red);
  border-radius: 5px;
  color: var(--ink);
  background: rgba(255,255,255,.86);
  font-weight: 900;
}
.video-preview-card:hover img { transform: scale(1.03); }

.value-section {
  color: var(--ink);
  background: linear-gradient(135deg, #f7fbff, #e9f7fb 56%, #ffffff);
}
.value-section .copy-block p { color: #40516a; }
.value-visual img,
.story-card img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.value-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.value-cards div {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
}
.value-cards strong { display: block; color: var(--cyan); font-size: 20px; }
.value-cards span { color: var(--muted); }

.video-section { background: linear-gradient(180deg, #f8fafc, #edf4fb); }
.video-tabs,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.video-tab,
.filter-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.video-tab.is-active,
.filter-button.is-active {
  background: var(--blue);
  color: var(--white);
}
.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow);
}
.video-frame video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}
.video-logo-cover {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 160px;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(244,247,245,.96), rgba(221,227,224,.94));
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  pointer-events: none;
}

.video-summary {
  background: linear-gradient(180deg, #ffffff, #eef7fb);
}
.video-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.video-summary-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, #f6fbff);
  box-shadow: 0 12px 34px rgba(20,42,70,.08);
}
.video-summary-grid span {
  display: inline-flex;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 10px;
}
.video-summary-grid p { color: var(--muted); }

.assurance { background: linear-gradient(180deg, #eef5fb, #f8fafc); }
.assurance-grid article,
.capability-grid article,
.service-list > div {
  padding: 24px;
}
.assurance-grid strong,
.capability-grid strong {
  display: inline-flex;
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 10px;
}
.assurance-grid p,
.capability-grid p,
.service-list p { color: var(--muted); }

.contact-section,
.inquiry-section {
  color: var(--ink);
  background: linear-gradient(135deg, #f7fbff, #e6f7fc 58%, #ffffff);
}
.contact-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
}
.contact-card p,
.inquiry-panel p { color: #40516a; }
.contact-logo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 86px);
  color: var(--ink);
  background: #edf7fc;
  border-top: 1px solid var(--line);
}
.site-footer div { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer span,
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }

.page-hero {
  min-height: 56vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 86px) 70px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(248,252,255,.94), rgba(231,247,252,.82)),
    url("../img/solution-pet-line.jpg") center/cover;
}
.page-hero > div { max-width: 940px; }
.page-hero p { max-width: 760px; color: #40516a; }
.product-page-hero { background-image: linear-gradient(135deg, rgba(248,252,255,.94), rgba(231,247,252,.82)), url("../img/automation-machines.jpg"); }
.company-page-hero { background-image: linear-gradient(135deg, rgba(248,252,255,.94), rgba(231,247,252,.82)), url("../img/vision-eye.jpg"); }
.detail-page-hero { background-image: linear-gradient(135deg, rgba(248,252,255,.94), rgba(231,247,252,.82)), url("../img/product-iml-inspection.jpg"); }
.contact-page-hero { background-image: linear-gradient(135deg, rgba(248,252,255,.94), rgba(231,247,252,.82)), url("../img/product-bottle-inspection.jpg"); }
.video-page-hero { background-image: linear-gradient(135deg, rgba(248,252,255,.94), rgba(231,247,252,.82)), url("../img/cap-poster.jpg"); }

.catalog-grid { display: grid; gap: 22px; }
.catalog-card {
  display: grid;
  grid-template-columns: 360px minmax(0,1fr);
}
.catalog-card.is-hidden { display: none; }
.catalog-media,
.catalog-media img {
  min-height: 310px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.catalog-card > div:not(.catalog-media) { padding: 26px; }
.catalog-card ul { margin: 16px 0 20px; padding-left: 20px; }
.tag {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--blue);
  background: #e9f8ff;
  font-size: 13px;
  font-weight: 900;
}

.detail-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
}
.detail-index a {
  padding: 9px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  color: var(--ink);
}
.detail-section {
  display: grid;
  grid-template-columns: 390px minmax(0,1fr);
  gap: 30px;
  align-items: center;
  padding: 46px clamp(20px, 6vw, 86px);
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fafc, #eef4fb);
}
.detail-section:nth-child(even) { background: linear-gradient(135deg, #fff, #edf6fa); }
.detail-section img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.detail-section ul { padding-left: 20px; color: var(--muted); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th { color: var(--white); background: var(--blue); }

.process-section { background: linear-gradient(180deg, #eef5fb, #f8fafc); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}
.process-step span {
  display: block;
  color: var(--blue);
  font-size: 24px;
}
.process-step.is-active {
  color: var(--white);
  background: var(--blue);
}
.process-step.is-active span { color: #dff7ff; }
.process-copy {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-list span {
  display: block;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 8px;
}
.service-list strong { display: block; font-size: 20px; margin-bottom: 8px; }

.inquiry-panel { align-items: start; }
.inquiry-panel a { color: var(--blue); text-decoration: underline; }
.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.inquiry-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255,255,255,.98);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  transform: translate(-50%, 18px);
  padding: 9px 13px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    display: grid;
    width: min(330px, calc(100vw - 36px));
    padding: 16px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .manufacturing-strip,
  .corporate-links,
  .stats-band,
  .product-grid,
  .assurance-grid,
  .capability-grid,
  .video-summary-grid,
  .service-list,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intro-grid,
  .value-section,
  .customization-section,
  .video-link-section,
  .company-story,
  .inquiry-panel,
  .contact-card,
  .catalog-card,
  .detail-section {
    grid-template-columns: 1fr;
  }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 640px) {
  .brand img { width: 52px; height: 52px; }
  .brand strong { font-size: 24px; }
  .brand small { font-size: 11px; }
  .hero { min-height: 94vh; padding-top: 126px; }
  .manufacturing-strip,
  .corporate-links,
  .stats-band,
  .product-grid,
  .assurance-grid,
  .capability-grid,
  .video-summary-grid,
  .service-list,
  .process-steps,
  .value-cards {
    grid-template-columns: 1fr;
  }
  .hero-actions .button,
  .contact-actions .button,
  .card-buttons .button {
    width: 100%;
  }
  .site-footer { flex-direction: column; }
  .news-strip { grid-template-columns: 1fr; }
  .video-logo-cover { left: 12px; top: 12px; width: 120px; height: 54px; }
}

/* CoreVision 2026-06-24 refinements */
.site-header {
  background: linear-gradient(135deg, rgba(255,255,255,.97) 0%, rgba(239,249,253,.96) 100%);
  box-shadow: 0 8px 24px rgba(30, 56, 82, .08);
}
.site-header.is-scrolled,
.site-header.compact {
  background: linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(235,247,253,.98) 100%);
}
.brand strong {
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 700;
}
.brand small { font-size: 15px; }
.site-nav {
  gap: 22px;
  font-size: 16px;
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.8);
}
.language-switcher [data-language-flag] {
  min-width: 26px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.language-switcher select {
  width: 118px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  outline: 0;
}
.hero {
  min-height: 560px;
  padding-top: 126px;
  padding-bottom: 58px;
}
.hero-content {
  max-width: 1120px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.2;
}
.hero-eyebrow,
.hero-logo.text-only span {
  color: var(--cyan);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}
.hero-logo.text-only {
  display: inline-flex;
  width: auto;
  min-height: 0;
  padding: 16px 24px;
}
.hero-logo.text-only img { display: none; }
.page-hero h1,
.video-page-title,
.company-page-title,
.contact-page-title {
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.22;
}
.page-hero {
  min-height: 430px;
  padding-top: 118px;
  padding-bottom: 42px;
}
.product-page-hero {
  min-height: 430px;
  padding-top: 118px;
  padding-bottom: 42px;
}
.product-page-hero h1 {
  max-width: 1180px;
  font-size: clamp(30px, 3.7vw, 50px);
  line-height: 1.22;
}
.video-page-title,
.company-page-title,
.contact-page-title { max-width: 900px; }
.section {
  padding: clamp(38px, 5vw, 72px) clamp(14px, 3vw, 42px);
}
.filter-section { padding-top: 34px; }
.catalog-grid { gap: 16px; }
.catalog-card {
  grid-template-columns: minmax(410px, 43vw) minmax(0, 1fr);
}
.catalog-card > div:not(.catalog-media) { padding: 22px 24px; }
.catalog-card h2 { margin-bottom: 10px; }
.catalog-card ul { margin: 12px 0 16px; }
.catalog-media {
  display: grid;
  place-items: center;
  min-height: 300px;
  background: linear-gradient(135deg, #eef4fb 0%, #f9fcff 100%);
}
.catalog-media img {
  width: 100%;
  height: auto;
  max-height: 370px;
  padding: 10px;
  object-fit: contain;
}
.card-buttons {
  display: grid;
  grid-template-columns: 132px 220px;
  align-items: start;
  gap: 14px 20px;
}
.inline-detail { display: contents; min-width: 132px; }
.inline-detail summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 54px;
  padding: 13px 24px;
  border: 1px solid #4f8ee8;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #4f8ee8 0%, #5cc7df 100%);
  box-shadow: 0 10px 22px rgba(58, 126, 205, .22), inset 0 1px 0 rgba(255,255,255,.28);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.catalog-card .inline-detail,
.catalog-card .inline-detail summary {
  width: 132px;
  min-width: 132px;
  min-height: 58px;
}
.catalog-card .button.consult {
  grid-column: 2;
  grid-row: 1;
  width: 220px;
  min-width: 220px;
  min-height: 58px;
}
.inline-detail summary::-webkit-details-marker { display: none; }
.inline-detail summary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(58, 126, 205, .28), inset 0 1px 0 rgba(255,255,255,.28);
}
.inline-detail-body {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .32s ease, opacity .22s ease, transform .22s ease, margin-top .22s ease;
}
.inline-detail[open] .inline-detail-body {
  max-height: 980px;
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
}
.catalog-card .inline-detail[open] summary {
  width: 132px;
}
.catalog-card:has(.inline-detail[open]) {
  grid-template-columns: 1fr;
}
.catalog-card:has(.inline-detail[open]) .catalog-media {
  display: none;
}
.catalog-card:has(.inline-detail[open]) .card-buttons {
  width: 100%;
  grid-template-columns: minmax(132px, 170px) minmax(220px, 320px);
}
.catalog-card:has(.inline-detail[open]) .inline-detail-body {
  width: 100%;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7fbff);
}
.spec-grid div {
  padding: 14px;
  border: 1px solid #d9e5ef;
  border-radius: var(--radius);
  background: #fff;
}
.spec-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.35;
}
.spec-grid span {
  display: block;
  color: #40516a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.support-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20,42,70,.06);
}
.support-grid span {
  display: block;
  margin-bottom: 8px;
  color: #1d65b7;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.support-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.4;
}
.support-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.advantage-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.advantage-rail div,
.customization-band,
.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(20,42,70,.06);
}
.advantage-rail div { padding: 18px; }
.advantage-rail strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 20px;
}
.advantage-rail span {
  color: var(--muted);
  line-height: 1.75;
}
.customization-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #fff 0%, #eefaff 100%);
}
.customization-band h2 { font-size: clamp(28px, 3.6vw, 48px); }
.support-detail .section-heading h2,
.advantages-detail > .section-heading h2,
.customization-band h2,
.detail-cta h2 {
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.3;
}
.detail-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, #f0fbff 100%);
  box-shadow: 0 10px 24px rgba(20,42,70,.06);
}
.detail-cta .button {
  justify-self: end;
}
.news-card { padding: 22px; }
.news-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}
.video-frame { position: relative; }
.video-logo-cover {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 96px;
  padding: 16px 28px;
  border-radius: var(--radius);
  color: #1e4f8a;
  background: rgba(232, 237, 238, .94);
  box-shadow: 0 18px 34px rgba(20,42,70,.18);
  font-size: 28px;
  font-weight: 800;
}
.contact-form-section { padding-top: 36px; }
.form-heading {
  max-width: 1040px;
  margin: 0 auto 22px;
}
.contact-form.full-width {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #e8eef4;
  box-shadow: var(--shadow);
}
.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--red);
  font-size: 15px;
  font-weight: 900;
}
.contact-form.full-width label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}
.contact-form.full-width input,
.contact-form.full-width textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid #cfddea;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form.full-width textarea {
  min-height: 180px;
  resize: vertical;
}
.contact-form.full-width label:nth-of-type(5),
.attachment-area,
.mail-submit {
  grid-column: 1 / -1;
}
.attachment-area {
  display: grid;
  gap: 10px;
}
.attachment-label {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}
.native-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.file-picker-ui {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid #cfddea;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}
.file-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid #9eb4c8;
  border-radius: 5px;
  background: linear-gradient(180deg, #fff, #edf3f8);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.attachment-area p,
.file-list {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.file-type-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.file-type-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #cfe1ef;
  border-radius: 5px;
  color: var(--blue);
  background: #f5fbff;
  font-size: 13px;
  font-weight: 900;
}
.mail-submit { width: 100%; }
@media (max-width: 1180px) {
  .support-grid,
  .advantage-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1020px) {
  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }
  .catalog-card { grid-template-columns: 1fr; }
  .inline-detail-body { width: 100%; }
  .customization-band { grid-template-columns: 1fr; }
  .detail-cta { grid-template-columns: 1fr; }
  .detail-cta .button { justify-self: stretch; }
  .contact-form.full-width { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand strong { font-size: 28px; }
  .site-nav { font-size: 15px; }
  .spec-grid,
  .support-grid,
  .advantage-rail {
    grid-template-columns: 1fr;
  }
  .inline-detail,
  .inline-detail summary,
  .button.consult {
    width: 100%;
  }
  .video-logo-cover {
    top: 18px;
    left: 18px;
    min-width: 180px;
    min-height: 68px;
    font-size: 22px;
  }
}

/* HERZOG-inspired visual refresh */
:root {
  --ink: #162437;
  --ink-2: #334960;
  --blue: #0f4f8f;
  --cyan: #2588c9;
  --red: #c9142f;
  --paper: #f5f7fa;
  --paper-2: #eef2f6;
  --line: #d8dee6;
  --muted: #617084;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 14px 34px rgba(9, 28, 54, .10);
}

body {
  color: var(--ink);
  background: #fff;
}

.site-header,
.site-header.is-scrolled,
.site-header.compact {
  min-height: 66px;
  color: #fff;
  background: linear-gradient(180deg, #08335d 0%, #062746 100%);
  border-bottom: 4px solid var(--red);
  box-shadow: 0 10px 26px rgba(0, 25, 50, .22);
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.brand strong {
  color: #fff;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
}

.brand small,
.site-nav a,
.site-footer span,
.site-footer a {
  color: rgba(255,255,255,.78);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-color: var(--red);
}

.nav-cta {
  color: #fff !important;
  border-color: var(--red);
  background: var(--red);
  border-radius: 2px;
}

.language-switcher,
.menu-toggle {
  color: #fff;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}

.language-switcher select {
  color: #fff;
}

.language-switcher option {
  color: var(--ink);
}

.language-switcher [data-language-flag] {
  color: #fff;
}

.menu-toggle span:not(.sr-only) {
  background: #fff;
}

.hero,
.page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 29, 55, .88) 0%, rgba(7, 44, 81, .70) 45%, rgba(7, 44, 81, .18) 100%),
    url("../img/automation-machines.jpg") center / cover no-repeat;
}

.hero {
  min-height: min(760px, 92vh);
  padding-top: 120px;
  padding-bottom: 84px;
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(4, 24, 45, .26) 100%);
}

.page-hero {
  min-height: 440px;
  padding-top: 114px;
  padding-bottom: 58px;
}

.product-page-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 29, 55, .88) 0%, rgba(7, 44, 81, .70) 45%, rgba(7, 44, 81, .18) 100%),
    url("../img/automation-machines.jpg");
}

.company-page-hero,
.page-hero:not(.product-page-hero):not(.inspection-page-hero):not(.detail-page-hero):not(.contact-page-hero):not(.video-page-hero):not(.contact-hero) {
  background-image:
    linear-gradient(90deg, rgba(5, 29, 55, .88) 0%, rgba(7, 44, 81, .70) 45%, rgba(7, 44, 81, .18) 100%),
    url("../img/vision-eye.jpg");
}

.detail-page-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 29, 55, .88) 0%, rgba(7, 44, 81, .70) 45%, rgba(7, 44, 81, .18) 100%),
    url("../img/product-iml-inspection.jpg");
}

.contact-page-hero,
.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 29, 55, .88) 0%, rgba(7, 44, 81, .70) 45%, rgba(7, 44, 81, .18) 100%),
    url("../img/product-bottle-inspection.jpg");
}

.video-page-hero {
  background-image:
    linear-gradient(90deg, rgba(5, 29, 55, .88) 0%, rgba(7, 44, 81, .70) 45%, rgba(7, 44, 81, .18) 100%),
    url("../img/cap-poster.jpg");
}

.hero-content,
.page-hero > div {
  max-width: 980px;
}

.hero h1,
.page-hero h1 {
  color: #fff;
  font-weight: 900;
  text-shadow: 0 3px 16px rgba(0,0,0,.24);
}

.hero p,
.page-hero p,
.hero-lead {
  color: rgba(255,255,255,.90);
}

.eyebrow,
.hero-eyebrow,
.hero-logo.text-only span {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
}

.eyebrow.dark {
  color: var(--blue);
}

h2 {
  padding-left: 22px;
  font-weight: 900;
}

h2::before {
  top: .12em;
  width: 6px;
  height: 1.4em;
  border-radius: 0;
  background: var(--red);
}

.section {
  background: #fff;
}

.section:nth-of-type(even),
.video-section,
.assurance,
.process-section,
.filter-section,
.contact-form-section {
  background: var(--paper);
}

.value-section,
.video-link-section,
.customization-section,
.contact-section,
.inquiry-section {
  background: #fff;
}

.button,
.video-tab,
.filter-button,
.detail-index a,
.process-step,
.file-picker-button {
  border-radius: 2px;
}

.button.primary,
.filter-button.is-active,
.video-tab.is-active,
.process-step.is-active,
.back-to-top,
.toast {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: none;
}

.button.secondary,
.button.outline,
.filter-button,
.video-tab,
.detail-index a,
.process-step,
.file-picker-button {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.button.consult,
.inline-detail summary,
.mail-submit {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: none;
}

.button:hover,
.button:focus-visible,
.product-card:hover,
.catalog-card:hover,
.corporate-link:hover,
.video-preview-card:hover img {
  transform: translateY(-2px);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 12px 24px rgba(8, 51, 93, .18);
}

.product-card,
.catalog-card,
.assurance-grid article,
.capability-grid article,
.service-list > div,
.support-grid article,
.advantage-rail div,
.customization-band,
.news-card,
.detail-cta,
.inquiry-form,
.contact-form.full-width,
.video-preview-card,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 51, 93, .08);
}

.product-card,
.catalog-card {
  border-top: 4px solid var(--blue);
}

.product-media,
.catalog-media {
  background: #eef2f6;
}

.product-media::after,
.catalog-media::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.86) 100%);
}

.product-media span,
.catalog-media span,
.tag {
  color: var(--blue);
  border-left: 4px solid var(--red);
  border-radius: 0;
  background: rgba(255,255,255,.92);
}

.tag {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
}

.card-action,
.text-link,
.news-strip a,
.inquiry-panel a {
  color: var(--blue);
}

.value-cards div,
.spec-grid,
.spec-grid div,
.process-copy {
  border-color: var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.value-cards strong,
.spec-grid strong,
.support-grid strong,
.advantage-rail strong,
.service-list span,
.news-card time,
.process-step span,
.assurance-grid strong,
.capability-grid strong {
  color: var(--blue);
}

.support-grid span {
  color: var(--red);
}

.catalog-card {
  grid-template-columns: minmax(380px, 39vw) minmax(0, 1fr);
}

.catalog-media img,
.detail-section img,
.story-card img,
.value-visual img {
  border-radius: 0;
}

.detail-section {
  border-top: 1px solid var(--line);
  background: #fff;
}

.detail-section:nth-child(even) {
  background: var(--paper);
}

th {
  color: #fff;
  background: var(--blue);
}

td,
th {
  border-color: var(--line);
}

.contact-form.full-width {
  background: #fff;
}

.contact-form.full-width input,
.contact-form.full-width textarea,
.inquiry-form input,
.inquiry-form textarea {
  border-radius: 2px;
  border-color: #c9d2dc;
  background: #fff;
}

.contact-form.full-width input:focus,
.contact-form.full-width textarea:focus,
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,136,201,.16);
}

.file-type-chips span {
  color: var(--blue);
  border-radius: 2px;
  background: var(--paper);
}

.video-frame {
  border: 6px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgba(8,51,93,.16);
}

.video-logo-cover {
  color: #fff;
  background: rgba(8, 51, 93, .88);
  border-left: 4px solid var(--red);
  border-radius: 0;
}

.site-footer {
  color: #fff;
  background: #062746;
  border-top: 4px solid var(--red);
}

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

@media (max-width: 1020px) {
  .site-nav {
    background: #08335d;
    border-color: rgba(255,255,255,.18);
  }

  .catalog-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.compact {
    min-height: 60px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero,
  .page-hero {
    background-position: center right;
  }

  .hero {
    min-height: 86vh;
    padding-top: 96px;
    padding-bottom: 54px;
  }

  .page-hero {
    min-height: 360px;
    padding-top: 94px;
  }
}

/* Stability fixes for valid shared navigation and non-JS rendering */
.reveal {
  opacity: 1;
  transform: none;
}

.site-header {
  padding: 6px clamp(18px, 3.6vw, 56px);
}

.brand {
  flex: 0 0 auto;
  min-width: 0;
}

.brand span {
  min-width: 0;
}

.brand small {
  display: block;
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
}

.site-nav a {
  white-space: nowrap;
}

.language-switcher {
  flex: 0 0 auto;
}

.language-switcher select {
  width: 96px;
}

@media (max-width: 1180px) {
  .brand strong {
    font-size: 26px;
  }

  .brand small {
    max-width: 220px;
    font-size: 12px;
  }

  .site-nav {
    gap: 14px;
    font-size: 14px;
  }
}

@media (max-width: 1020px) {
  .site-nav {
    flex: initial;
    justify-content: start;
  }
}

/* Brighter color pass */
:root {
  --ink: #12324d;
  --ink-2: #31546e;
  --blue: #2588c9;
  --cyan: #6ecbf3;
  --red: #ff8a24;
  --paper: #f8fbff;
  --paper-2: #edf8ff;
  --line: #d9e7f1;
  --muted: #5f7183;
  --shadow: 0 12px 28px rgba(37, 136, 201, .13);
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.site-header,
.site-header.is-scrolled,
.site-header.compact {
  color: #fff;
  background: linear-gradient(180deg, #2fa1dd 0%, #2388c8 100%);
  border-bottom-color: var(--red);
  box-shadow: 0 8px 22px rgba(37, 136, 201, .22);
}

.brand img {
  background: #fff;
}

.brand strong,
.brand small,
.site-nav a,
.site-footer span,
.site-footer a {
  color: #fff;
}

.site-nav a {
  opacity: .92;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
  border-color: #fff;
}

.nav-cta {
  color: #fff !important;
  border-color: #ff9a3d;
  background: #ff8a24;
}

.language-switcher,
.menu-toggle {
  color: #fff;
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.16);
}

.hero,
.page-hero,
.product-page-hero,
.detail-page-hero,
.contact-page-hero,
.contact-hero,
.video-page-hero {
  color: var(--ink);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/automation-machines.jpg") center / cover no-repeat;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/solution-pet-line.jpg") center / cover no-repeat;
}

.product-page-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/automation-machines.jpg");
}

.company-page-hero,
.page-hero:not(.product-page-hero):not(.inspection-page-hero):not(.detail-page-hero):not(.contact-page-hero):not(.video-page-hero):not(.contact-hero) {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/vision-eye.jpg");
}

.detail-page-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/product-iml-inspection.jpg");
}

.contact-page-hero,
.contact-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/product-bottle-inspection.jpg");
}

.video-page-hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(238,248,255,.74) 48%, rgba(238,248,255,.30) 100%),
    url("../img/cap-poster.jpg");
}

.hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.20) 100%);
}

.hero h1,
.page-hero h1 {
  color: var(--ink);
  text-shadow: none;
}

.hero p,
.page-hero p,
.hero-lead {
  color: var(--ink-2);
}

.eyebrow,
.hero-eyebrow,
.hero-logo.text-only span {
  color: var(--blue);
}

.eyebrow::before,
h2::before {
  background: var(--red);
}

.section:nth-of-type(even),
.video-section,
.assurance,
.process-section,
.filter-section,
.contact-form-section {
  background: var(--paper);
}

.button.primary,
.filter-button.is-active,
.video-tab.is-active,
.process-step.is-active,
.back-to-top,
.toast {
  color: #fff;
  border-color: #2388c8;
  background: linear-gradient(180deg, #31a6e2 0%, #2588c9 100%);
  box-shadow: 0 8px 18px rgba(37, 136, 201, .20);
}

.button.consult,
.inline-detail summary,
.mail-submit {
  color: #fff;
  border-color: #ff8a24;
  background: linear-gradient(180deg, #ffa64a 0%, #ff8a24 100%);
}

.button.secondary,
.button.outline,
.filter-button,
.video-tab,
.detail-index a,
.process-step,
.file-picker-button {
  background: #fff;
}

.product-card,
.catalog-card,
.assurance-grid article,
.capability-grid article,
.service-list > div,
.support-grid article,
.advantage-rail div,
.customization-band,
.news-card,
.detail-cta,
.inquiry-form,
.contact-form.full-width,
.video-preview-card,
.table-wrap {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.product-card,
.catalog-card {
  border-top-color: var(--cyan);
}

.product-media,
.catalog-media {
  background: linear-gradient(135deg, #f7fcff 0%, #e9f7ff 100%);
}

.product-media span,
.catalog-media span,
.tag {
  color: var(--blue);
  border-left-color: var(--red);
  background: rgba(255,255,255,.94);
}

.site-footer {
  color: #fff;
  background: linear-gradient(180deg, #2588c9 0%, #1f79b7 100%);
  border-top-color: var(--red);
}

@media (max-width: 1020px) {
  .site-nav {
    background: #2588c9;
  }
}

/* Inspection equipment page */
.page-hero.inspection-page-hero {
  min-height: 520px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(238,248,255,.78) 48%, rgba(238,248,255,.36) 100%),
    url("../img/inspection-production-line-software.jpg?v=20260703ap");
  background-position: center;
  background-size: cover;
}

.inspection-summary,
.inspection-capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.inspection-summary-copy > p:not(.eyebrow),
.inspection-system-band .section-heading > p,
.inspection-target-section .section-heading > p,
.software-section .section-heading > p,
.inspection-spec-section .section-heading > p,
.inspection-method-section .section-heading > p,
.inspection-outcome p {
  color: var(--muted);
}

.inspection-benefits,
.inspection-target-grid,
.software-points,
.spec-highlight-grid,
.capability-list {
  display: grid;
  gap: 14px;
}

.inspection-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.inspection-benefits div,
.software-points div,
.spec-highlight-grid div,
.capability-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.inspection-benefits strong,
.software-points strong,
.capability-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.35;
}

.inspection-benefits span,
.inspection-target-grid p,
.software-points span,
.capability-list p,
.spec-highlight-grid p {
  margin: 0;
  color: var(--muted);
}

.inspection-feature-photo,
.inspection-photo-grid figure,
.method-grid figure,
.spec-sheet-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.inspection-feature-photo img,
.inspection-photo-grid img,
.method-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspection-feature-photo {
  aspect-ratio: 4 / 3;
}

.inspection-feature-photo figcaption,
.inspection-photo-grid figcaption,
.method-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}

.inspection-system-band,
.inspection-target-section,
.inspection-method-section,
.inspection-faq-section {
  background: linear-gradient(180deg, #f8fbff 0%, #edf8ff 100%);
}

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

.inspection-target-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.inspection-target-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #fff;
}

.inspection-target-grid div {
  padding: 18px;
}

.inspection-target-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 19px;
  line-height: 1.35;
}

.tube-demo-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
  margin-top: 22px;
}

.tube-demo-panel figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.tube-demo-panel img,
.tube-demo-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #edf8ff;
}

.tube-demo-panel video {
  object-fit: contain;
  background: #111a22;
}

.tube-demo-panel .tube-loop-animation {
  object-fit: cover;
  background: #111a22;
}

.tube-loop-card {
  background: #111a22;
}

.tube-demo-panel figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: #fff;
}

.inspection-photo-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inspection-photo-grid figure {
  aspect-ratio: 16 / 10;
}

.inspection-photo-grid figure:nth-child(n+3) img {
  object-fit: contain;
  background: #fff;
}

.software-section {
  background: #fff;
}

.software-screen-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101922;
  box-shadow: 0 18px 46px rgba(9, 28, 54, .18);
}

.software-screen-card + .software-screen-card {
  margin-top: 18px;
}

.software-screen-card img {
  width: 100%;
  background: #101922;
}

.software-screen-card figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  padding: 12px 14px;
  color: #d9ecf8;
  background: #1b2c3c;
}

.software-screen-card figcaption strong {
  color: #7ed7f5;
}

.software-screen-card figcaption span {
  color: #cfe1ee;
}

.software-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.software-thumbnail-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #101922;
  box-shadow: 0 10px 28px rgba(9, 28, 54, .12);
}

.software-thumbnail-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
  background: #101922;
}

.software-thumbnail-grid figcaption {
  min-height: 42px;
  padding: 8px 9px;
  color: #d9ecf8;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  background: #1b2c3c;
}

.defect-gallery {
  margin-top: 26px;
}

.defect-gallery-heading {
  max-width: 920px;
  margin-bottom: 16px;
}

.defect-gallery-heading h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.25;
}

.defect-gallery-heading p {
  margin: 0;
  color: var(--muted);
}

.defect-sample-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.defect-sample-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #101922;
  box-shadow: 0 10px 28px rgba(9, 28, 54, .12);
}

.defect-sample-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.defect-sample-grid figcaption {
  padding: 8px 10px;
  color: #d9ecf8;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  background: #1b2c3c;
}

body[data-page="inspection"] figure figcaption {
  text-align: center;
}

body[data-page="inspection"] .software-screen-card figcaption {
  justify-content: center;
}

body[data-page="inspection"] .inspection-target-grid article > div {
  text-align: center;
}

body[data-page="inspection"] .inspection-target-grid img,
body[data-page="inspection"] .software-thumbnail-grid img {
  object-fit: contain;
}

.software-points {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.software-language-card img {
  width: 150px;
  max-width: 100%;
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #1f2730;
}

.spec-highlight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.spec-highlight-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.spec-highlight-grid strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--blue);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.16;
}

.capability-list {
  align-self: stretch;
}

.capability-list article {
  box-shadow: none;
}

.spec-sheet-card {
  align-self: stretch;
  padding: 12px;
}

.spec-sheet-card img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.method-grid figure {
  background: #f8fbff;
}

.method-grid img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #fff;
}

.inspection-outcome {
  background: #fff;
}

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

.inspection-faq-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.inspection-faq-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.45;
}

.inspection-faq-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 10px;
    font-size: 13px;
  }

  .language-switcher select {
    width: 88px;
  }
}

@media (max-width: 1020px) {
  .inspection-summary,
  .inspection-capability-layout,
  .software-body {
    grid-template-columns: 1fr;
  }

  .spec-highlight-grid,
  .inspection-target-grid,
  .tube-demo-panel,
  .inspection-faq-grid,
  .software-thumbnail-grid,
  .defect-sample-grid,
  .software-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .inspection-page-hero {
    min-height: 500px;
  }

  .inspection-benefits,
  .inspection-target-grid,
  .tube-demo-panel,
  .inspection-faq-grid,
  .inspection-photo-grid,
  .method-grid,
  .software-image-stack,
  .software-points,
  .spec-highlight-grid {
    grid-template-columns: 1fr;
  }

  .software-body {
    padding: 10px;
  }
}

@media (max-width: 1020px) {
  .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-media {
    min-height: 240px;
  }

  .card-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-card .inline-detail,
  .catalog-card .inline-detail summary,
  .catalog-card .button.consult {
    width: 100%;
    min-width: 0;
  }

  .catalog-card .button.consult {
    grid-column: 2;
  }

  .inline-detail-body {
    grid-column: 1 / -1;
  }

  .spec-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .card-buttons,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card .button.consult {
    grid-column: 1;
    grid-row: auto;
  }
}
