/* factory-floor-coating — 스틸(steel) 콘셉트, 지그재그 레이아웃 */

@font-face {
  font-family: "NanumSquareNeo";
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/nanumSqaureNeo@1.0/NanumSquareNeo-Variable.woff2") format("woff2-variations"),
       url("https://cdn.jsdelivr.net/gh/projectnoonnu/nanumSqaureNeo@1.0/NanumSquareNeo-Variable.woff2") format("woff2");
}

:root {
  --steel: #2E3B4E;
  --steel-dark: #1E2733;
  --steel-light: #47586F;
  --amber: #F5A623;
  --amber-dark: #C97F0F;
  --plate: #F3F4F6;
  --ink: #1A2129;
  --line: #C7CDD6;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "NanumSquareNeo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; }

h1, h2, h3 { font-weight: 900; color: var(--steel-dark); line-height: 1.35; margin: 0 0 .6em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.1rem; color: var(--steel); }
p { margin: 0 0 1em; }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.tag-label {
  display: inline-block;
  background: var(--amber);
  color: var(--steel-dark);
  font-weight: 900;
  font-size: .8rem;
  letter-spacing: .06em;
  padding: .3em .8em;
  margin-bottom: .9em;
}

/* ===== Header — industrial bold wordmark, thick bottom border ===== */
.site-header {
  background: var(--steel-dark);
  border-bottom: 6px solid var(--amber);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .4em 0;
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid var(--amber);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--amber);
}
#primary-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  background: var(--steel-dark);
}
#primary-nav.is-open { display: flex; }
#primary-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: .9em 1.25rem;
  border-top: 1px solid var(--steel-light);
  min-height: 44px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  #primary-nav {
    display: flex !important;
    flex-direction: row;
    width: auto;
    background: transparent;
  }
  #primary-nav a {
    border-top: none;
    padding: .5em 1em;
    min-height: auto;
  }
  #primary-nav a:hover { color: var(--amber); }
}

/* ===== Buttons — sturdy rectangular industrial tags ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7em 1.6em;
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .03em;
  border: 3px solid var(--steel-dark);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary {
  background: var(--amber);
  color: var(--steel-dark);
  border-color: var(--amber-dark);
}
.btn-ghost {
  background: transparent;
  color: var(--steel-dark);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

/* ===== Hero ===== */
.hero {
  background: var(--steel);
  color: #fff;
  padding: 3.5rem 1.25rem 3rem;
  text-align: left;
  max-width: 780px;
  margin: 0 auto 0 0;
  border-bottom: 6px solid var(--amber);
}
.hero .eyebrow {
  color: var(--amber);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .85rem;
  margin: 0 0 .8em;
}
.hero h1 { color: #fff; }
.hero-sub { color: #DCE1E8; max-width: 60ch; }

@media (min-width: 768px) {
  .hero { padding: 4.5rem 3rem 4rem; max-width: none; }
}

/* ===== Zigzag repeating image/text sections ===== */
.zigzag-section { background: var(--plate); }

.zigzag-row {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.zigzag-media picture, .zigzag-media img {
  width: 100%;
  border: 4px solid var(--steel-dark);
}

.zigzag-text h2 { margin-top: 0; }

@media (min-width: 768px) {
  .zigzag-row {
    flex-direction: row;
    align-items: center;
    padding: 3.5rem 2rem;
    gap: 2.5rem;
  }
  .zigzag-row.reverse { flex-direction: row-reverse; }
  .zigzag-media, .zigzag-text { flex: 1 1 50%; min-width: 0; }
}

.zigzag-row + .zigzag-row { border-top: 1px solid var(--line); }

/* Gallery grid nested inside a zigzag text column */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-top: 1rem;
}
.gallery-grid img { border: 3px solid var(--steel-dark); aspect-ratio: 4/3; object-fit: cover; }

@media (max-width: 479px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ===== Spec table ===== */
.spec-section { background: #fff; }
.table-scroll { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: .9em 1em;
  border: 1px solid var(--line);
  font-size: .95rem;
}
th {
  background: var(--steel-dark);
  color: #fff;
  font-weight: 900;
}
tbody tr:nth-child(even) { background: var(--plate); }

/* ===== Notice list ===== */
.notice-section { background: var(--plate); }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.notice-list li {
  background: #fff;
  border-left: 6px solid var(--amber);
  padding: 1em 1.2em;
}
.notice-list strong { color: var(--steel-dark); }

/* ===== FAQ accordion ===== */
.faq-section { background: #fff; }
.accordion-item { border: 2px solid var(--steel-dark); margin-bottom: .8rem; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--plate);
  border: none;
  padding: 1em 1.2em;
  min-height: 44px;
  font-weight: 900;
  font-size: 1rem;
  color: var(--steel-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}
.accordion-trigger::after {
  content: "+";
  color: var(--amber-dark);
  font-size: 1.3em;
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"]::after { content: "\2212"; }
.accordion-panel { padding: 1em 1.2em; border-top: 2px solid var(--steel-dark); }
.accordion-panel p { margin: 0; }
h3 button.accordion-trigger { color: var(--steel-dark); }
.accordion-item h3 { margin: 0; font-size: 1rem; }

/* ===== Related pages ===== */
.related-section { background: var(--plate); }
.related-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}
.related-card {
  background: var(--steel-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  padding: 1.1em 1em;
  text-align: center;
  border-bottom: 4px solid var(--amber);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-card:hover { background: var(--steel); }

@media (min-width: 480px) {
  .related-cards { grid-template-columns: repeat(4, 1fr); }
}

/* ===== CTA ===== */
.cta-section { background: var(--steel-dark); color: #fff; text-align: center; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #DCE1E8; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1em; }
.cta-inner .hero-cta { justify-content: center; }

/* ===== Footer ===== */
.site-footer {
  background: var(--steel-dark);
  color: #DCE1E8;
  border-top: 6px solid var(--amber);
  padding: 2.5rem 1.25rem 1.5rem;
}
.footer-nav {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
}
.footer-nav a {
  color: #DCE1E8;
  text-decoration: none;
  font-size: .9rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--amber); }
.site-footer address {
  max-width: 1120px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: .85rem;
  line-height: 1.9;
}
.site-footer address a { color: var(--amber); text-decoration: none; }
.site-footer p { max-width: 1120px; margin: 0 auto; font-size: .8rem; color: #9AA5B1; }

/* ===== Breakpoint refinements ===== */
@media (min-width: 1024px) {
  .section-inner, .zigzag-row, .footer-nav, .site-footer address, .site-footer p { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1280px) {
  .section-inner, .zigzag-row { padding-left: 0; padding-right: 0; }
}
