/* ============================================================
   screen-ui.css — TPS KOREA LLC. (English)
   ------------------------------------------------------------
   Rules: 1rem=10px / 1200px container no side padding / Noto Sans
          4 font sizes: 3.6 / 2.4 / 1.8 / 1.5rem / responsive to 480px
   Point: navy #0a4d7d (logo), accent orange #f26722 (original slash labels)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; }
body { min-height:100vh; display:flex; flex-direction:column;
  font-family: "Noto Sans", "Noto Sans KR", sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #444;
}
img { max-width: 100%; height: auto; vertical-align: top; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }

:root {
  --point: #0a4d7d;
  --accent: #f26722;
  --tit: #222;
  --txt: #444;
  --txt-sub: #777;
  --line: #e4e4e4;
  --surface: #f7f8fa;
}

.sub-page { overflow: hidden; }
.sub-inner { width: 120rem; max-width: 100%; margin: 0 auto; }
.sub-section { padding: 3rem 0 12rem; }

/* Section heading (original: orange slash + uppercase label) */
.sec-head { margin: 7rem 0 3rem; }
.sec-head:first-child { margin-top: 0; }
.sec-tit {
  position: relative;
  padding-left: 2rem;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.sec-tit::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 2.2rem;
  background: var(--accent);
  transform: skewX(-18deg);
}
.sec-sub { margin-top: 1rem; font-size: 1.8rem; line-height: 1.7; color: var(--txt); }
.center { text-align: center; }
.center .sec-tit { display: inline-block; }

.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sub-table-wrap { overflow-x: auto; }
.sub-table {
  width: 100%;
  min-width: 76rem;
  border-collapse: collapse;
  border-top: 2px solid var(--tit);
  font-size: 1.8rem;
}
.sub-table th, .sub-table td {
  padding: 1.3rem 2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
}
.sub-table th { background: var(--surface); font-weight: 700; color: var(--tit); }

@media (max-width: 1240px) { .sub-inner { padding: 0 3rem; } }
@media (max-width: 1024px) { .sub-section { padding: 2rem 0 9rem; } }
@media (max-width: 480px)  {
  html { font-size: 56.25%; }
  .sub-inner { padding: 0 2rem; }
}

/* ============================================================
   Introduction
   ============================================================ */
.intro-head { text-align: center; padding: 3rem 0 1rem; }
.intro-head h2 {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--tit);
  letter-spacing: 0.14em;
}
.intro-head .lead { margin-top: 2.4rem; font-size: 1.8rem; line-height: 1.9; color: var(--txt); }
.intro-head .lead strong { color: var(--tit); }
.intro-services {
  display: flex;
  justify-content: center;
  gap: 8rem;
  margin: 3rem 0 1rem;
}
.intro-services ul li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.9;
  text-transform: uppercase;
}
.intro-services ul li::before { content: '·'; position: absolute; left: 0; font-weight: 700; }
.glb-lead { text-align: center; font-size: 1.8rem; line-height: 1.8; color: var(--txt); margin-bottom: 2.4rem; }
.pr-img { text-align: center; }
.pr-img img { width: 100%; }

/* Business portfolio org chart */
.org { text-align: center; }
.org-ceo {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--tit);
  line-height: 1.5;
}
.org-ceo span { display: block; font-size: 1.5rem; font-weight: 400; color: var(--txt-sub); }
.org-branches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.org-branch { border-top: 3px solid var(--point); background: var(--surface); }
.org-branch h4 {
  background: var(--point);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 1rem 1.6rem;
  text-align: left;
}
.org-branch ul { padding: 1.4rem 1.6rem 1.8rem; text-align: left; }
.org-branch li { font-size: 1.5rem; line-height: 1.7; color: var(--txt); }
.org-branch li::before { content: '- '; }

/* Location */
.loc-grid { display: flex; gap: 6rem; align-items: flex-start; }
.loc-map { flex: 0 0 44rem; }
.loc-map img { width: 100%; }
.loc-info { flex: 1; padding-top: 2rem; }
.loc-row { display: flex; align-items: center; gap: 1.8rem; font-size: 1.8rem; color: var(--txt); }
.loc-row + .loc-row { margin-top: 2rem; }
.loc-row svg { flex: 0 0 auto; }
.loc-card {
  margin-top: 3.4rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 2.6rem 3rem;
}
.loc-card p { font-size: 1.8rem; line-height: 1.8; color: var(--txt); }
.loc-card .rows { margin-top: 1.6rem; }
.loc-card .rows li { display: flex; gap: 1.4rem; align-items: center; font-size: 1.8rem; color: var(--txt); }
.loc-card .rows li + li { margin-top: 0.8rem; }

/* Boards (EN) */
.board-table th { text-align: center; background: var(--surface); }
.board-table td { text-align: center; }
.board-table .col-num  { width: 10%; }
.board-table .col-name { width: 14%; }
.board-table .col-date { width: 15%; }
.board-table td.col-subject { text-align: left; }
.board-empty { padding: 8rem 0 !important; text-align: center !important; color: var(--txt-sub); }
.board-paging { margin-top: 3rem; text-align: center; }
.board-paging span {
  display: inline-block;
  min-width: 3.4rem;
  padding: 0.6rem 0;
  border: 1px solid var(--line);
  font-size: 1.5rem;
  color: var(--txt-sub);
}
.board-paging .on { color: #fff; background: var(--point); border-color: var(--point); font-weight: 700; }

@media (max-width: 960px) {
  .intro-services { gap: 4rem; }
  .org-branches { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { flex-direction: column; }
  .loc-map { flex: none; max-width: 44rem; }
}
@media (max-width: 600px) {
  .org-branches { grid-template-columns: 1fr; }
  .intro-services { flex-direction: column; gap: 0.5rem; align-items: center; }
}

/* ============================================================
   index (main)
   ============================================================ */
.main-hero {
  background: url('/resources/images/main/main_01.jpg') center / cover no-repeat #26405c;
  height: 50rem;
}
.main-intro { text-align: center; padding: 7rem 0; }
.main-intro h2 { font-size: 2.4rem; font-weight: 700; color: var(--tit); }
.main-intro h2::after { content: ''; display: block; width: 4rem; height: 0.2rem; background: var(--accent); margin: 1.6rem auto 0; }
.main-intro p { margin-top: 2rem; font-size: 1.8rem; line-height: 1.9; color: var(--txt); }
.main-biz img { display: block; width: 100%; }
@media (max-width: 768px) { .main-hero { height: 32rem; } }

/* ============================================================
   Product (.pd- prefix only — appended, do not edit blocks above)
   ============================================================ */
.pd-head { position: relative; text-align: center; padding: 2rem 0 1rem; }
.pd-ghost {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  font-size: 3.6rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #eaeaea;
  white-space: nowrap;
  overflow: hidden;
}
.pd-head h2 {
  position: relative;
  margin-top: 2.4rem;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--tit);
  letter-spacing: 0.1em;
}

/* Tool Design solution — rounded outline buttons */
.pd-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 3.4rem; margin: 2.4rem 0 0.4rem; }
.pd-btn {
  display: inline-block;
  min-width: 17rem;
  padding: 0.4rem 2.4rem;
  border: 2px solid var(--accent);
  border-radius: 999rem;
  font-size: 1.8rem;
  color: var(--txt);
  text-align: center;
}

/* Figures — original proportional widths (1200px canvas) */
.pd-fig { margin-left: auto; margin-right: auto; }
.pd-f01 { max-width: 84.6rem; }
.pd-f02 { max-width: 76.8rem; }
.pd-f03 { max-width: 72.2rem; }
.pd-f04 { max-width: 79.2rem; }
.pd-f05 { max-width: 91.8rem; }
.pd-f06 { max-width: 90.2rem; }
.pd-f07 { max-width: 88.1rem; }
.pd-f08 { max-width: 86rem; }
.pd-f09 { max-width: 85.9rem; }
.pd-f10 { max-width: 90.8rem; }
.pd-f11 { max-width: 88.4rem; }
.pd-f12 { max-width: 71.5rem; }
.pd-f13 { max-width: 72.7rem; }

/* PVD — model name (blue) + baked-style yellow tag rebuilt in HTML */
.pd-pvd { margin-top: 4.5rem; }
.pd-pvd:first-of-type { margin-top: 0; }
.pd-pvd-head { position: relative; display: flex; align-items: center; min-height: 4.4rem; }
.pd-model { margin-left: 21%; font-size: 2.4rem; font-weight: 700; color: #2070b0; }
.pd-tag {
  position: absolute;
  left: 65%;
  transform: translateX(-50%);
  padding: 0.1rem 1.8rem;
  background: #f6d06e;
  border: 1px solid #e3ba52;
  box-shadow: 0.4rem 0.4rem 0 rgba(0, 0, 0, 0.22);
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.pd-pvd .pr-img { margin-top: 1.4rem; }

@media (max-width: 600px) {
  .pd-btns { gap: 1.2rem; }
  .pd-pvd-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .pd-model { margin-left: 0; }
  .pd-tag { position: static; transform: none; align-self: center; }
}

/* ============================================================
   Facility Control (rebuilt from original single-image page)
   — .fc- prefixed classes only (appended)
   ============================================================ */
.facility-page .fc-head { position: relative; text-align: center; padding: 4rem 0 1rem; }
.facility-page .fc-head h2 {
  position: relative;
  display: inline-block;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--tit);
  letter-spacing: 0.04em;
}
.facility-page .fc-head h2::before {
  content: attr(data-text);
  position: absolute;
  left: 50%;
  top: -0.62em;
  transform: translateX(-46%);
  font-size: 1.35em;
  font-weight: 400;
  color: #000;
  opacity: 0.045;
  white-space: nowrap;
  pointer-events: none;
}
.fc-sec { margin-top: 9rem; }
.fc-sec:first-of-type { margin-top: 3rem; }
.fc-sec .sec-head { margin: 0 0 3rem; }
.fc-var { font-weight: 400; }
.fc-cycle { margin-top: 0.4rem; font-size: 1.8rem; color: var(--txt-sub); letter-spacing: 0.06em; }
.fc-row { display: flex; gap: 4.5rem; align-items: flex-start; }
.fc-row.rev { flex-direction: row-reverse; }
.fc-spec { flex: 1 1 0; min-width: 0; }
.fc-spec-tit { margin-bottom: 1rem; font-size: 1.8rem; font-weight: 700; color: var(--txt-sub); letter-spacing: 0.14em; }
.fc-spec-list > li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.8rem;
  line-height: 1.75;
  color: var(--txt);
}
.fc-spec-list > li::before {
  content: '';
  position: absolute;
  left: 0.1rem;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--tit);
}
.fc-spec-list li ul { padding-left: 2.2rem; }
.fc-spec-list li ul li { font-size: 1.8rem; line-height: 1.75; color: var(--txt); }
.fc-spec-list .fc-em { color: #c02565; }
.fc-note { margin-top: 1.8rem; font-size: 1.5rem; color: var(--txt-sub); }
.fc-units {
  flex: 0 0 52rem;
  max-width: 52rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem 1.8rem;
  align-items: start;
}
.fc-units.single { flex-basis: 46rem; max-width: 46rem; grid-template-columns: 1fr; }
.fc-units .wide { grid-column: 1 / -1; }
.fc-unit { margin: 0; text-align: center; }
.fc-unit img { width: auto; max-width: 100%; border-radius: 0.6rem; }
.fc-unit figcaption { margin-top: 0.8rem; font-size: 1.5rem; color: var(--txt); }
.fc-photo { margin: 4.5rem 0 0; text-align: center; }
.fc-photo img { width: auto; max-width: 100%; }
.fc-photo.fc-hero { margin: 0 0 4rem; }
.fc-om { margin-top: 5.5rem; }
.fc-om:first-of-type { margin-top: 0; }
.fc-om-tit { margin-bottom: 1.8rem; font-size: 1.8rem; font-weight: 700; color: var(--point); letter-spacing: 0.05em; }
.fc-om-imgs { display: flex; flex-wrap: wrap; gap: 2.4rem; align-items: flex-start; justify-content: center; }
.fc-om-imgs img { width: auto; max-width: 100%; }

@media (max-width: 1024px) {
  .fc-row, .fc-row.rev { flex-direction: column; }
  .fc-units, .fc-units.single { flex-basis: auto; max-width: 60rem; width: 100%; margin: 0 auto; }
  .facility-page .fc-head h2::before { display: none; }
}
@media (max-width: 480px) {
  .fc-units { grid-template-columns: 1fr; }
  .fc-sec { margin-top: 6rem; }
}
/* OTHER MACHINE 통이미지 (파란 리본 배경 자연스럽게 유지) */
.fc-om-full { text-align: center; margin-top: 3rem; }
.fc-om-full img { width: 100%; max-width: 1000px; }

/* 메인 Introduce VIEW DETAIL 버튼 (원본 오렌지) */
.main-intro-btn { margin-top: 3.4rem; }
.main-intro-btn a {
  display: inline-block;
  background: #f26722;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 1.4rem 4.2rem;
  border-radius: 0.3rem;
  transition: background .15s;
}
.main-intro-btn a:hover { background: #d8551a; }
