:root {
  --ink: #172338;
  --muted: #607089;
  --line: #d9e2ee;
  --navy: #002b68;
  --blue: #0a5e9f;
  --teal: #008c95;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(24, 42, 70, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  background: var(--white);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:lang(ja) body,
:lang(zh) body {
  word-break: normal;
  line-break: strict;
}

:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3,
:lang(ja) p,
:lang(ja) a,
:lang(ja) button,
:lang(ja) label,
:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3,
:lang(zh) p,
:lang(zh) a,
:lang(zh) button,
:lang(zh) label {
  overflow-wrap: anywhere;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  min-height: 78px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 238, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 220px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: #2e3b4f;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  padding: 28px 0;
  min-width: 0;
}

.site-nav a:hover {
  color: var(--blue);
}

.language-switch {
  display: grid;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 132px;
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-switch select {
  min-height: 36px;
  padding: 6px 30px 6px 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.nav-action {
  padding: 12px 18px !important;
  color: var(--white) !important;
  background: var(--navy);
  border-radius: 4px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: var(--navy);
  border: 0;
  border-radius: 4px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 630px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.08);
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 34, 94, 0.76), rgba(0, 64, 128, 0.28), rgba(255, 255, 255, 0.02));
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 22px;
  color: var(--white);
}

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

.hero .eyebrow {
  color: #b9e8f0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 54px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.75;
}

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

.hero-actions a {
  min-width: 132px;
  padding: 14px 20px;
  line-height: 1.35;
  text-align: center;
  font-weight: 800;
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
}

.hero-actions a + a {
  color: var(--white);
  background: var(--teal);
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 48px));
  margin-top: -68px;
  padding: 0;
  position: relative;
  z-index: 2;
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro-strip div {
  min-height: 136px;
  padding: 30px;
  background: var(--white);
}

.intro-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 36px;
}

.intro-strip span {
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-band h2 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.25;
}

.section-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.media-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.products {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.product-grid article {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.product-grid span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.product-grid h3 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-size: 22px;
}

.product-grid p,
.supplier-grid p,
.contact-band p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

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

.supplier-grid article {
  display: flex;
  min-height: 170px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.supplier-grid img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.supplier-grid p {
  margin: 20px 0 0;
  font-size: 14px;
}

.product-explorer {
  padding-top: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.product-search {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 18px;
}

.product-search label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid #cfd9e7;
  border-radius: 4px;
  background: var(--white);
}

.search-field:focus-within {
  outline: 3px solid rgba(0, 140, 149, 0.16);
  border-color: var(--teal);
}

.search-field input {
  border: 0;
  background: transparent;
}

.search-field input:focus {
  outline: 0;
}

.search-field button {
  min-width: 78px;
  padding: 0 16px;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  border: 0;
  border-left: 1px solid var(--line);
  background: #f7fafc;
  cursor: pointer;
}

.search-summary {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.product-list-actions[hidden] {
  display: none;
}

.product-list-actions button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.product-list-actions button:first-child {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  line-height: 1.35;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.product-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.product-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.product-table th,
.product-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.product-table th {
  color: var(--navy);
  background: #eef3f8;
  font-weight: 900;
}

.product-table tr:last-child td {
  border-bottom: 0;
}

.product-table.is-empty {
  display: none;
}

.empty-products {
  margin: 0;
  padding: 34px 20px;
  color: var(--muted);
  text-align: center;
}

.product-table td:first-child {
  color: var(--navy);
  font-weight: 900;
}

.product-note {
  display: -webkit-box;
  max-height: 4.8em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sustainability-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #ffffff 0%, #f3f8f8 100%);
}

.sustainability-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1fr);
  gap: 18px;
}

.sustainability-lead,
.sustainability-grid article,
.sustainability-standards article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.sustainability-lead {
  display: flex;
  min-height: 330px;
  padding: 34px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 43, 104, 0.24), rgba(0, 43, 104, 0.9)),
    url("../images/visual-lab.jpg") center / cover;
  border: 0;
}

.sustainability-lead span {
  margin-bottom: 12px;
  color: #b9e8f0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sustainability-lead h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.24;
}

.sustainability-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sustainability-grid article {
  min-height: 224px;
  padding: 28px;
}

.sustainability-grid span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.sustainability-grid h3 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-size: 21px;
}

.sustainability-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.sustainability-standards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.sustainability-standards article {
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.sustainability-standards strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 16px;
}

.sustainability-standards span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.capability-section {
  padding-top: 0;
}

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

.capability-grid article,
.location-card,
.faq-list details {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.capability-grid h3,
.location-grid h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 20px;
}

.capability-grid p,
.location-grid p,
.faq-list p {
  color: var(--muted);
  line-height: 1.75;
}

.gallery-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: #f7fafc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(24, 42, 70, 0.18);
}

.supplier-grid.expanded {
  grid-template-columns: repeat(4, 1fr);
}

.locations-section {
  padding-top: 0;
}

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

.location-card {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.location-card:hover,
.location-card.is-active {
  border-color: var(--navy);
  box-shadow: 0 14px 30px rgba(24, 42, 70, 0.12);
  transform: translateY(-2px);
}

.location-card.is-active {
  background: #f7fbff;
}

.location-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.map-panel {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef3f8;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.faq-section {
  padding-top: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list summary {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 14px 0 0;
}

.request-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, #ffffff, #f7fafc);
}

.request-form {
  display: grid;
  gap: 18px;
  max-width: 920px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #cfd9e7;
  border-radius: 4px;
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 140, 149, 0.16);
  border-color: var(--teal);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.consent input {
  width: 18px;
  min-height: 18px;
}

.submit-button {
  justify-self: start;
  min-width: 150px;
  padding: 14px 24px;
  line-height: 1.35;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.contact-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.contact-band div {
  padding: 56px;
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.site-footer {
  padding: 36px 42px;
  background: #f2f6fb;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 6px;
  font-size: 14px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.image-lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 35, 0.82);
  border: 0;
  cursor: zoom-out;
}

.lightbox-frame {
  position: relative;
  z-index: 1;
  max-width: min(1080px, 92vw);
  max-height: 86vh;
  margin: 0;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.lightbox-frame figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  cursor: pointer;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 72px;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  cursor: pointer;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
  }

  .brand img {
    width: clamp(150px, 48vw, 184px);
  }

  .menu-button {
    display: block;
    flex: 0 0 42px;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 34px rgba(24, 42, 70, 0.12);
  }

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

  .site-nav a {
    min-height: 48px;
    padding: 13px 0;
    line-height: 1.4;
  }

  .language-switch {
    order: -1;
    width: 100%;
    min-width: 0;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .language-switch-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .language-switch select {
    width: 100%;
    min-height: 48px;
    padding: 8px 34px 8px 12px;
    font-size: 15px;
  }

  h1 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: 560px;
  }

  .intro-strip,
  .product-grid,
  .sustainability-layout,
  .supplier-grid,
  .supplier-grid.expanded,
  .capability-grid,
  .gallery-grid,
  .location-grid,
  .split,
  .form-row,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 0;
  }

  .section {
    padding: 68px 0;
  }

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

  .gallery-grid,
  .capability-grid,
  .location-grid,
  .sustainability-grid,
  .sustainability-standards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 0 12px;
  }

  .brand img {
    width: clamp(136px, 48vw, 164px);
  }

  .menu-button {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .section,
  .intro-strip {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: 31px;
    line-height: 1.22;
  }

  .hero-copy,
  .section-copy p,
  .section-heading p {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-band h2 {
    font-size: 27px;
    overflow-wrap: anywhere;
  }

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

  .gallery-grid,
  .capability-grid,
  .location-grid,
  .sustainability-grid,
  .sustainability-standards {
    grid-template-columns: 1fr;
  }

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

  .request-form {
    padding: 22px;
  }

  .search-field {
    grid-template-columns: 1fr;
  }

  .search-field button {
    min-height: 42px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-band div {
    padding: 36px 24px;
  }

  .product-table {
    min-width: 0;
  }

  .product-table thead {
    display: none;
  }

  .product-table,
  .product-table tbody,
  .product-table tr,
  .product-table td {
    display: block;
    width: 100%;
  }

  .product-table tr {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .product-table tr:last-child {
    border-bottom: 0;
  }

  .product-table td {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .product-table td > * {
    min-width: 0;
  }

  .product-table td::before {
    content: attr(data-label);
    color: var(--navy);
    font-weight: 900;
  }

  .lightbox-nav {
    top: auto;
    bottom: 22px;
    width: 48px;
    height: 54px;
    font-size: 42px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }
}
