:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #2d3137;
  --muted: #6f747d;
  --primary: #3d8e63;
  --primary-soft: #dfe9df;
  --line: #d5d8dc;
  --shadow: 0 8px 22px rgba(20, 30, 35, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.en {
  font-family: "Tinos", "Times New Roman", serif;
}

.hero {
  position: relative;
  min-height: 230px;
  background-image: url("assets/images/hero-banner.jpg");
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 36px;
  color: #f2f7ef;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-kicker {
  margin: 0;
  letter-spacing: 0.04em;
  font-family: "Tinos", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 28px);
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
}

.hero-sub {
  margin: 0;
  max-width: 760px;
  line-height: 1.55;
  font-size: clamp(14px, 1.2vw, 19px);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.company-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: -8px;
  margin-bottom: 18px;
}

.logo-card {
  width: 148px;
  min-width: 148px;
  height: 148px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  max-width: 74%;
  max-height: 74%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform: translateY(2px);
  mix-blend-mode: multiply;
}

.logo-mark {
  display: flex;
  justify-content: center;
  gap: 5px;
  height: 64px;
  align-items: flex-end;
}

.logo-mark span {
  display: inline-block;
  width: 14px;
  background: linear-gradient(180deg, #5dbf6e, #3d8e63);
  border-radius: 3px 3px 0 0;
}

.logo-mark span:nth-child(1) {
  height: 35px;
}

.logo-mark span:nth-child(2) {
  height: 49px;
}

.logo-mark span:nth-child(3) {
  height: 62px;
}

.logo-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  color: #385f46;
  letter-spacing: 0.02em;
}

.title-group {
  padding-bottom: 0;
}

.head-contact {
  margin-left: auto;
  width: calc((100% - 320px) / 3);
  max-width: 360px;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.head-contact__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #2f3740;
}

.head-contact__line {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.45;
  color: #4e5864;
}

.head-contact__line:last-child {
  margin-bottom: 0;
}

.meta {
  margin: 0;
  color: #8a9098;
  font-size: 14px;
  line-height: 1.45;
}

.title-group h2 {
  margin: 8px 0 7px;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.desc {
  margin: 0;
  color: #454b52;
  font-size: 16px;
  font-weight: 600;
}

.content-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 20px;
}

.menu-box {
  margin-bottom: 16px;
}

.menu-box h3 {
  margin: 0 0 8px;
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: #628b5a;
  font-size: 24px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.menu-box ul {
  margin: 0;
  padding: 0 2px;
  list-style: none;
}

.menu-box li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 18px;
  color: #3f464e;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: color 0.16s ease;
}

.menu-box li:hover {
  color: #2b6a49;
}

.menu-box li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 24px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2352866a' d='M12 2a7 7 0 0 0-7 7c0 5.52 7 13 7 13s7-7.48 7-13a7 7 0 0 0-7-7m0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5'/%3E%3C/svg%3E");
  border-radius: 0;
}

.community-contact {
  margin-top: 16px;
  padding: 8px 2px 0;
}

.community-contact__title {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
}

.community-contact__line {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.45;
}

@media (max-width: 1200px) {
  .community-contact__title,
  .community-contact__line {
    font-size: 13px;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 18px;
}

.process-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(30, 41, 50, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(30, 41, 50, 0.12);
}

.card-eyebrow {
  margin: 0 0 8px;
  color: #56616d;
  font-size: 16px;
  font-weight: 600;
}

.process-card h4 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.process-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.process-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

.homepage-footer {
  margin-top: 28px;
  border-top: 1px solid #d7dde1;
}

.homepage-footer__sitemap {
  background: #f8f8f8;
  padding: 34px 0;
}

.homepage-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.homepage-footer__sitemap .homepage-footer__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.homepage-footer__site {
  text-align: center;
}

.homepage-footer__site h4 {
  margin: 0 0 10px;
  color: #2c3138;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.homepage-footer__site ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.homepage-footer__site li {
  padding: 4px 0;
  color: #46505b;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.homepage-footer__bottom {
  padding: 14px 0;
  background: #ffffff;
}

.homepage-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.homepage-footer__copy {
  margin: 0;
  color: #4f5a65;
  font-size: 13px;
  font-weight: 600;
}

.homepage-footer__sns {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.homepage-footer__sns li {
  min-width: 58px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #d3dae0;
  color: #4d5661;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1200px) {
  .menu-box h3 {
    font-size: 21px;
  }

  .menu-box li,
  .card-eyebrow,
  .process-card h4,
  .process-card p {
    font-size: 14px;
  }

  .desc {
    font-size: 17px;
  }

  .homepage-footer__site h4 {
    font-size: 18px;
  }

  .homepage-footer__site li {
    font-size: 14px;
  }
}

@media (max-width: 980px) {
  .company-head {
    margin-top: -6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .logo-card {
    width: 130px;
    min-width: 130px;
    height: 130px;
    padding: 0;
  }

  .head-contact {
    margin-left: 0;
    width: 100%;
    min-height: 0;
    padding-left: 20px;
    text-align: left;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 12px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .homepage-footer__sitemap {
    display: none;
  }

  .homepage-footer__bottom {
    padding: 18px 0;
  }

  .homepage-footer__bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 190px;
  }

  .container {
    padding: 0 14px 20px;
  }

  .title-group h2 {
    font-size: 30px;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .process-card img {
    height: 180px;
  }

  .homepage-footer__inner {
    padding: 0 14px;
  }
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
}

.detail-modal[hidden] {
  display: none;
}

.detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 40, 0.42);
}

.detail-modal__dialog {
  --modal-scale: 1.5;
  position: relative;
  z-index: 1;
  width: min(1260px, calc(100vw - 42px));
  max-height: calc(100vh - 24px);
  overflow: hidden;
  background: #ffffff;
  border-radius: 14px;
  border: none;
  box-shadow: 0 18px 44px rgba(20, 30, 35, 0.26);
  padding: 18px;
  transform: scale(var(--modal-scale));
  transform-origin: center center;
}

.detail-modal__dialog.modal-history {
  width: min(900px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-organization {
  width: min(1100px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-location {
  width: min(980px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-reliability {
  width: min(760px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-certification {
  width: min(760px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-measuring {
  width: min(880px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-process {
  width: min(940px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-equipment {
  width: min(940px, calc(100vw - 42px));
}

.detail-modal__dialog.modal-picture {
  width: min(980px, calc(100vw - 42px));
}

.detail-modal__dialog h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #2d3137;
  padding-right: 40px;
}

.detail-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #d9e1e7;
  border-radius: 8px;
  background: #ffffff;
  color: #465360;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-modal__close:hover {
  background: #f3f7fa;
}

.detail-modal__item {
  margin: 0 0 15px;
  color: #55606a;
}

.detail-form[hidden] {
  display: none;
}

.field-label {
  display: block;
  margin: 0 0 6px;
  color: #4b5660;
  font-weight: 600;
}

#aboutImageUrl,
.about-list input,
.about-list textarea,
#detailModalTextarea {
  width: 100%;
  border: none;
  border-radius: 0;
  padding: 0;
  font: inherit;
  color: #2d3137;
  background: transparent;
}

#aboutImageUrl {
  margin-bottom: 10px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(570px, 48%) 1fr;
  gap: 12px;
  align-items: stretch;
}

.about-photo-pane {
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  min-height: 100%;
  background: #f2f4f5;
}

#aboutImagePreview {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  border: none;
  display: block;
  margin-bottom: 0;
}

.about-list {
  display: grid;
  gap: 9px;
}

.about-row {
  display: grid;
  grid-template-columns: 93px 140px 1fr;
  align-items: stretch;
  border: 1px solid #e7ebee;
  border-radius: 12px;
  background: #f9faf9;
  min-height: 93px;
  overflow: hidden;
}

.about-icon {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid #eceff1;
}

.about-icon::before {
  content: "";
  width: 45px;
  height: 45px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.98;
}

.row-company .about-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232d8b57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 21h16.5M5.25 21V6.75A2.25 2.25 0 0 1 7.5 4.5h9a2.25 2.25 0 0 1 2.25 2.25V21M8.25 8.25h.008v.008H8.25V8.25Zm0 3.75h.008v.008H8.25V12Zm0 3.75h.008v.008H8.25V15.75Zm3.75-7.5h.008v.008H12V8.25Zm0 3.75h.008v.008H12V12Zm0 3.75h.008v.008H12V15.75Zm3.75-7.5h.008v.008H15.75V8.25Zm0 3.75h.008v.008H15.75V12Zm0 3.75h.008v.008H15.75V15.75Z'/%3E%3C/svg%3E");
}

.row-established .about-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232d8b57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 2.25v3m7.5-3v3M3 8.25h18M4.5 5.25h15A1.5 1.5 0 0 1 21 6.75v12A1.5 1.5 0 0 1 19.5 20.25h-15A1.5 1.5 0 0 1 3 18.75v-12a1.5 1.5 0 0 1 1.5-1.5ZM7.5 12h.008v.008H7.5V12Zm4.5 0h.008v.008H12V12Zm4.5 0h.008v.008H16.5V12Zm-9 3.75h.008v.008H7.5v-.008Zm4.5 0h.008v.008H12v-.008Zm4.5 0h.008v.008H16.5v-.008Z'/%3E%3C/svg%3E");
}

.row-location .about-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232d8b57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 21s7-5.26 7-11a7 7 0 1 0-14 0c0 5.74 7 11 7 11Zm0-8.25a2.75 2.75 0 1 0 0-5.5 2.75 2.75 0 0 0 0 5.5Z'/%3E%3C/svg%3E");
}

.row-employees .about-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232d8b57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16.5 7.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM7.5 9a2.25 2.25 0 1 0 0-4.5A2.25 2.25 0 0 0 7.5 9Zm9 1.5c2.9 0 5.25 2.35 5.25 5.25v.75h-12v-.75c0-2.9 2.35-5.25 5.25-5.25Zm-9 1.5c1.76 0 3.3.95 4.12 2.36a6.63 6.63 0 0 0-.62 2.64v.5H2.25V17c0-2.76 2.24-5 5-5Z'/%3E%3C/svg%3E");
}

.row-industry .about-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232d8b57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 20.25h18M4.5 20.25V9.75h4.5v10.5m0-6h4.5v6m0-10.5h4.5v10.5M6.75 5.25h.008v.008H6.75V5.25Zm10.5 0h.008v.008h-.008V5.25Z'/%3E%3C/svg%3E");
}

.row-products .about-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.8' stroke='%232d8b57'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m12 3 8.25 4.5v9L12 21l-8.25-4.5v-9L12 3Zm0 0v9m8.25-4.5L12 12 3.75 7.5'/%3E%3C/svg%3E");
}

.about-label {
  display: grid;
  align-content: center;
  gap: 1px;
  border-right: 1px solid #eceff1;
  padding: 13.5px 15px;
}

.label-ko {
  display: block;
  font-weight: 700;
  line-height: 1.02;
  color: #23834d;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.label-en {
  display: block;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.02;
  color: #5d6771;
}

.about-values {
  display: grid;
  gap: 1px;
  padding: 12px 18px;
  align-content: center;
}

.about-values input,
.about-values textarea {
  border: none;
  outline: none;
  color: #1f2831;
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: -0.02em;
}

.about-values textarea {
  resize: none;
}

.about-values .en,
.about-values textarea.en {
  font-size: 15px;
  font-weight: 600;
  color: #4c5560;
}

.about-values--split {
  grid-template-columns: 1fr;
  row-gap: 8px;
}

.about-values--split input:first-child {
  border-bottom: none;
  padding-right: 0;
}

.about-values--split input:last-child {
  padding-left: 0;
}

.row-location .about-values,
.row-industry .about-values {
  align-content: start;
}

.row-location {
  min-height: 150px;
}

.row-employees {
  min-height: 60px;
}

#aboutLocationKr,
#aboutLocationEn {
  min-height: 100px;
}

#aboutEmployees {
  max-width: 330px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 9px;
}

.product-chip-input {
  min-height: 42px;
  border: 1px solid #edf1ef;
  border-radius: 10px;
  padding: 6px 10px;
  background: #f6f8f7;
  color: #1e2a32;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.02;
}

.product-chip-input:focus {
  border-color: #c8d9ce;
  box-shadow: 0 0 0 2px rgba(61, 142, 99, 0.12);
}

.detail-modal__dialog h3 {
  margin: 0 0 8px;
  font-family: "Tinos", "Times New Roman", serif;
  font-size: 25px;
  color: #3f464e;
  font-weight: 600;
  line-height: 1.45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.detail-modal-title-icon {
  width: 20px;
  height: 24px;
  display: inline-block;
}

.detail-modal-title-icon--pin {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2352866a' d='M12 2a7 7 0 0 0-7 7c0 5.52 7 13 7 13s7-7.48 7-13a7 7 0 0 0-7-7m0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5'/%3E%3C/svg%3E");
}

/* Keep About us typography untouched, unify other modal text scale. */
.detail-form:not(.detail-form--about) .history-text,
.detail-form:not(.detail-form--about) .organization-description,
.detail-form:not(.detail-form--about) .location-list p,
.detail-form:not(.detail-form--about) .esg-doc-copy p,
.detail-form:not(.detail-form--about) .reliability-content p,
.detail-form:not(.detail-form--about) .certification-card figcaption,
.detail-form:not(.detail-form--about) .measuring-copy p,
.detail-form:not(.detail-form--about) .process-video-fallback-message {
  font-size: 16px;
  line-height: 1.6;
}

.detail-form:not(.detail-form--about) .reliability-head h4,
.detail-form:not(.detail-form--about) .certification-head h4,
.detail-form:not(.detail-form--about) .measuring-head h4,
.detail-form:not(.detail-form--about) .process-head h4,
.detail-form:not(.detail-form--about) .equipment-head h4 {
  font-size: 22px;
}

.history-timeline {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 14px;
  display: grid;
  gap: 4px;
  max-height: min(72vh, 760px);
  overflow: auto;
}

.picture-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.picture-head {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #e5f0eb;
}

.picture-head h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #1b2c3c;
}

.picture-tabs {
  display: flex;
  gap: 10px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}

.picture-tab {
  appearance: none;
  border: 1px solid #d7e0e7;
  background: #ffffff;
  color: #41505e;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.picture-tab.is-active {
  background: #e5f0eb;
  border-color: #c8dbcf;
  color: #1b2c3c;
}

.picture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.picture-card {
  margin: 0;
}

.picture-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: #ffffff;
}

.history-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 6px 0;
}

.history-year {
  color: #1f2937;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.history-text {
  color: #334155;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.organization-content {
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding-right: 4px;
}

.organization-figure {
  margin: 0;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.organization-figure img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
}

.organization-description {
  color: #243447;
  font-size: 15px;
  line-height: 1.5;
}

.organization-description p {
  margin: 0 0 10px;
}

.organization-description ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

.organization-description li {
  margin: 0 0 6px;
}

.location-content {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding-right: 4px;
}

.location-map {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.location-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.location-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #243447;
}

.location-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.location-list strong {
  display: inline-block;
  margin: 0;
  flex: 0 0 108px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.location-list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #334155;
  white-space: nowrap;
}

.esg-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.esg-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.esg-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.esg-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #dbe4ea;
  border-radius: 10px;
  background: #f8fbfd;
}

.esg-doc-copy strong {
  display: block;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
}

.esg-doc-copy p {
  margin: 0;
  font-size: 14px;
  color: #526171;
}

.esg-doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #1e6d55;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.esg-doc-link:hover {
  background: #175640;
}

.esg-pdf-preview {
  width: 50%;
  margin: 0 auto;
  border: 1px solid #dbe4ea;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.esg-pdf-preview iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}

.reliability-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
  color: #243447;
}

.reliability-head {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e5f0eb;
}

.reliability-head--secondary {
  margin-top: 24px;
}

.reliability-head h4 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1b2c3c;
}

.reliability-content p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.65;
}

.reliability-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.reliability-image-slot {
  min-height: 240px;
  border: 1px dashed #c9d7e2;
  border-radius: 10px;
  background: #f8fbfd;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: #5b6b7c;
}

.reliability-image-frame {
  margin: 0;
  padding: 0;
  border-style: solid;
  background: #ffffff;
  overflow: hidden;
}

.reliability-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.reliability-image-slot span {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.reliability-image-slot small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.reliability-image-slot--wide {
  grid-column: 1 / -1;
  min-height: 260px;
}

.certification-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.certification-head {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e5f0eb;
}

.certification-head--section {
  margin-top: 34px;
}

.certification-head h4 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1b2c3c;
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 28px;
}

.certification-card {
  margin: 0;
  min-height: auto;
  border: none;
  background: transparent;
  overflow: visible;
  display: grid;
  align-content: start;
  gap: 12px;
}

.certification-card img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #ffffff;
}

.certification-card figcaption {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.certification-card--image-only {
  gap: 0;
}

.measuring-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.measuring-section + .measuring-section {
  margin-top: 22px;
}

.measuring-head {
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #e5f0eb;
}

.measuring-head h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #1b2c3c;
}

.measuring-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.measuring-figure {
  margin: 0;
}

.measuring-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #ffffff;
}

.measuring-copy p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #243447;
}

.process-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.process-section + .process-section {
  margin-top: 24px;
}

.process-head {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #e5f0eb;
}

.process-head h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #1b2c3c;
}

.process-video-frame {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
}

.process-video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.process-video-frame--fallback {
  min-height: 240px;
  padding: 24px;
  display: grid;
  place-content: center;
  gap: 12px;
  text-align: center;
}

.process-video-fallback-message {
  margin: 0;
  color: #e5edf3;
  font-size: 15px;
  line-height: 1.6;
}

.process-video-fallback-link {
  display: inline-block;
  justify-self: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: #ffffff;
  color: #1c2f42;
  font-weight: 700;
  text-decoration: none;
}

.process-video-fallback-link:hover {
  background: #e8f2ed;
}

.equipment-content {
  max-height: calc(100vh - 170px);
  overflow: auto;
}

.equipment-section + .equipment-section {
  margin-top: 26px;
}

.equipment-head {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #e5f0eb;
}

.equipment-head h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #1b2c3c;
  line-height: 1.25;
}

.equipment-figure {
  margin: 0;
}

.equipment-figure img {
  width: min(360px, 100%);
  height: auto;
  display: block;
}

.certification-card--empty {
  border-style: dashed;
  color: #5b6b7c;
  padding: 18px;
  text-align: center;
}

.certification-card--empty span {
  font-size: 14px;
  font-weight: 600;
}

#detailModalTextarea {
  min-height: 315px;
  resize: vertical;
}

#detailModalTextarea:focus,
#aboutImageUrl:focus,
.about-list input:focus,
.about-list textarea:focus {
  outline: none;
}

@media (max-width: 980px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-photo-pane {
    min-height: 200px;
    max-height: 220px;
  }

  #aboutImagePreview {
    height: 220px;
    border-radius: 10px;
  }

  .detail-modal__dialog {
    width: min(92vw, 900px);
    padding: 10px;
  }

  .history-timeline {
    padding: 12px 10px;
    max-height: min(70vh, 620px);
  }

  .history-row {
    grid-template-columns: 56px 1fr;
    gap: 10px;
    padding: 6px 0;
  }

  .history-year {
    font-size: 15px;
  }

  .history-text {
    font-size: 14px;
    line-height: 1.45;
  }

  .organization-description {
    font-size: 13px;
    line-height: 1.45;
  }

  .organization-content {
    max-height: calc(100vh - 130px);
  }

  .organization-figure img {
    max-height: 340px;
  }

  .location-content {
    max-height: calc(100vh - 130px);
  }

  .location-map iframe {
    height: 250px;
  }

  .location-list strong {
    font-size: 16px;
  }

  .location-list p {
    font-size: 13px;
    line-height: 1.5;
  }

  .esg-content {
    max-height: calc(100vh - 130px);
  }

  .reliability-content {
    max-height: calc(100vh - 130px);
  }

  .certification-content {
    max-height: calc(100vh - 130px);
  }

  .measuring-content {
    max-height: calc(100vh - 130px);
  }

  .process-content {
    max-height: calc(100vh - 130px);
  }

  .picture-content {
    max-height: calc(100vh - 130px);
  }

  .equipment-content {
    max-height: calc(100vh - 130px);
  }

  .process-head h4 {
    font-size: 18px;
  }

  .equipment-head h4 {
    font-size: 18px;
  }

  .picture-head h4 {
    font-size: 18px;
  }

  .picture-tab {
    font-size: 13px;
    padding: 8px 12px;
  }

  .picture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-form:not(.detail-form--about) .history-text,
  .detail-form:not(.detail-form--about) .organization-description,
  .detail-form:not(.detail-form--about) .location-list p,
  .detail-form:not(.detail-form--about) .esg-doc-copy p,
  .detail-form:not(.detail-form--about) .reliability-content p,
  .detail-form:not(.detail-form--about) .certification-card figcaption,
  .detail-form:not(.detail-form--about) .measuring-copy p,
  .detail-form:not(.detail-form--about) .process-video-fallback-message {
    font-size: 14px;
    line-height: 1.55;
  }

  .detail-form:not(.detail-form--about) .reliability-head h4,
  .detail-form:not(.detail-form--about) .certification-head h4,
  .detail-form:not(.detail-form--about) .measuring-head h4,
  .detail-form:not(.detail-form--about) .process-head h4,
  .detail-form:not(.detail-form--about) .equipment-head h4 {
    font-size: 18px;
  }

  .measuring-head h4 {
    font-size: 17px;
  }

  .measuring-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .measuring-copy p {
    font-size: 13px;
    line-height: 1.55;
  }

  .certification-head h4 {
    font-size: 19px;
  }

  .certification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 18px;
  }

  .certification-card {
    min-height: 180px;
  }

  .certification-card figcaption {
    font-size: 13px;
  }

  .reliability-head h4 {
    font-size: 19px;
  }

  .reliability-content p {
    font-size: 14px;
    line-height: 1.55;
  }

  .reliability-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .reliability-image-slot,
  .reliability-image-slot--wide {
    min-height: 160px;
  }

  .esg-doc-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .esg-doc-copy strong {
    font-size: 15px;
  }

  .esg-doc-copy p,
  .esg-doc-link {
    font-size: 13px;
  }

  .esg-pdf-preview {
    width: 100%;
  }

  .esg-pdf-preview iframe {
    height: 420px;
  }

  .about-row {
    grid-template-columns: 62px 124px 1fr;
    min-height: 60px;
  }

  .label-ko {
    font-size: 13px;
  }

  .label-en {
    font-size: 11px;
  }

  .about-values {
    padding: 8px 10px;
  }

  .about-values input,
  .about-values textarea {
    font-size: 12px;
  }

  .about-values .en,
  .about-values textarea.en {
    font-size: 11px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .product-chip-input {
    min-height: 38px;
    font-size: 11px;
  }
}

  @media (max-width: 640px) {
    .picture-grid {
      grid-template-columns: 1fr;
    }

    .picture-tabs {
      gap: 8px;
    }
  }
