/* 폼블래더 시스템 — 산업 기술 허브 디자인 시스템 */
:root {
    --ink: #0f1720;
    --ink-soft: #1b2530;
    --steel: #3a4652;
    --line: #2a343e;
    --paper: #f5f4f0;
    --paper-dim: #e9e7e0;
    --red: #c81e2c;
    --red-dark: #9c1622;
    --white: #ffffff;
    --text-dim: #6b7480;
    --radius: 4px;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    --sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
figure { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--red); color: #fff;
    padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(15, 23, 32, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark {
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--red);
    position: relative;
    flex: none;
}
.logo-mark::after {
    content: ""; position: absolute; inset: 5px;
    border-radius: 50%; background: var(--ink);
}
.logo-text { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.logo-text small { display: block; font-weight: 500; font-size: .68rem; color: #9aa4ae; letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-call-header, .btn-quote-header {
    text-decoration: none; font-size: .86rem; font-weight: 700; padding: 9px 16px; border-radius: var(--radius);
}
.btn-call-header { background: var(--red); color: #fff; }
.btn-quote-header { border: 1px solid #47525c; color: #e6e9ec; }

/* ===== Buttons ===== */
.btn {
    display: inline-block; text-decoration: none; font-weight: 700; font-size: .96rem;
    padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }

/* ===== Hero ===== */
.hero { color: #fff; }
.hero-photo { margin: 0; line-height: 0; }
.hero-photo img { width: 100%; height: min(56vw, 620px); object-fit: cover; }
.hero-content { background: var(--ink); border-bottom: 1px solid var(--line); }
.hero-inner { padding: 56px 24px 64px; }
.eyebrow {
    font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: .74rem;
    color: var(--red); font-weight: 700; margin: 0 0 14px;
}
.hero .eyebrow { color: #ff6b73; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; }
.h1-sub { font-family: var(--mono); font-size: .95rem; letter-spacing: .18em; color: #a7b0b8; font-weight: 600; margin: -6px 0 18px; }
.hero .lede { font-size: 1.2rem; font-weight: 600; color: #eef1f3; max-width: 640px; }
.hero .answer { max-width: 720px; color: #cfd6db; font-size: 1rem; }
.hero-cta { display: flex; gap: 14px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-keywords { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin: 0; padding: 0; }
.hero-keywords li {
    font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
    border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 14px; color: #dfe3e6;
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--paper-dim); }
.section--dark { background: var(--ink); color: #eef1f3; }
.section--dark .eyebrow { color: #ff6b73; }
.section--dark h2 { color: #fff; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-desc { color: var(--text-dim); }
.section--dark .section-desc { color: #a7b0b8; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* split layout */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split--right-media { grid-template-columns: .95fr 1.05fr; }
.split-media img { border-radius: var(--radius); }
.split-media figcaption { font-size: .82rem; color: var(--text-dim); margin-top: 10px; }
.prose p { color: #333; }
.section--dark .prose p { color: #cfd6db; }
.prose-photo { margin: 0 0 32px; }
.prose-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.prose-photo figcaption { font-size: .82rem; color: var(--text-dim); margin-top: 10px; }

/* data table */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .92rem; background: var(--white); }
.data-table caption { text-align: left; font-weight: 700; margin-bottom: 8px; font-size: .95rem; }
.data-table th, .data-table td { border: 1px solid #d8d5cc; padding: 12px 14px; text-align: left; }
.data-table thead th { background: var(--ink); color: #fff; }
.data-table--compact th { width: 110px; background: var(--paper-dim); font-weight: 700; white-space: nowrap; }
#official .split-copy { text-align: center; }
#official .data-table--compact { margin-left: auto; margin-right: auto; }
#official .data-table--compact th, #official .data-table--compact td { text-align: center; }

.check-list { margin: 20px 0 0; padding-left: 1.2em; }
.check-list li { margin-bottom: 8px; }

/* ===== Flow diagram ===== */
.structure-photo { max-width: 760px; margin: 0 auto 40px; }
.structure-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); }
.flow-diagram {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.flow-diagram li {
    display: flex; align-items: center; gap: 10px;
    background: var(--ink-soft); border: 1px solid var(--line);
    padding: 14px 20px; border-radius: var(--radius); position: relative;
}
.flow-diagram li:not(:last-child)::after {
    content: "\2192"; position: absolute; right: -26px; top: 50%; transform: translateY(-50%);
    color: var(--red); font-weight: 700;
}
.flow-num { font-family: var(--mono); color: var(--red); font-weight: 700; }
.flow-label { font-weight: 700; }
.flow-note { max-width: 760px; margin: 32px auto 0; text-align: center; color: #b6bec5; }

/* ===== Component grid ===== */
.component-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.component-card { background: var(--white); border: 1px solid #ddd9cf; border-radius: var(--radius); overflow: hidden; }
.component-card img { aspect-ratio: 4/3; object-fit: cover; }
.component-card h3 { font-size: 1.02rem; margin: 16px 16px 6px; }
.component-card p { font-size: .88rem; color: var(--text-dim); margin: 0 16px 16px; }

/* ===== Expertise rows ===== */
.expertise-list { display: flex; flex-direction: column; gap: 56px; }
.expertise-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.expertise-row figure img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; }
.expertise-row h3 { font-size: 1.3rem; }
.expertise-row p { color: var(--text-dim); }

/* ===== Network cards ===== */
.network-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.network-card {
    background: var(--ink-soft); border: 1px solid var(--line); border-radius: var(--radius);
    text-decoration: none; color: #eef1f3; overflow: hidden; display: flex; flex-direction: column;
    transition: border-color .15s;
}
.network-card:hover { border-color: var(--red); }
.network-card figure img { aspect-ratio: 16/10; object-fit: cover; }
.network-card-body { padding: 18px 20px 22px; }
.network-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.network-card p { font-size: .88rem; color: #a7b0b8; margin-bottom: 8px; }
.network-when { font-size: .8rem; color: #7d8790; font-style: normal; }
.network-card .arrow { display: inline-block; margin-top: 6px; font-weight: 700; color: #ff6b73; font-size: .86rem; }
.network-links { margin-top: 40px; }
.network-links p { color: #cfd6db; }
.network-links a { color: #ff6b73; font-weight: 700; text-decoration: underline; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid #ddd9cf; border-radius: var(--radius); padding: 6px 20px; }
.faq-item summary { cursor: pointer; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-size: 1rem; font-weight: 700; }
.faq-item summary::before { content: "Q. "; color: var(--red); font-weight: 800; font-family: var(--mono); }
.faq-item[open] summary { border-bottom: 1px solid #eee2; }
.faq-item p { padding: 4px 0 16px; color: var(--text-dim); }

/* ===== CTA band ===== */
.cta-band { background: var(--red); color: #fff; padding: 56px 0; }
.cta-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-copy h2 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.cta-eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; opacity: .85; margin-bottom: 8px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: var(--ink); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #a7b0b8; padding: 52px 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.footer-logo { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.footer-logo small { font-family: var(--mono); font-weight: 500; color: #7d8790; letter-spacing: .08em; }
.footer-biz-info {
    list-style: none; margin: 0; padding: 0; font-size: .88rem;
    display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px;
}
.footer-biz-info li:not(:last-child)::after { content: "\00b7"; margin: 0 12px; color: #5b6570; }
.footer-biz-info a { color: #a7b0b8; text-decoration: underline; }

/* ===== Mobile call bar ===== */
.mobile-call-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--red); color: #fff; text-align: center; padding: 14px; font-weight: 700;
    text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .btn-quote-header { display: none; }
    .split, .split--right-media, .expertise-row {
        grid-template-columns: 1fr;
    }
    .component-grid { grid-template-columns: 1fr; }
    .network-grid { grid-template-columns: 1fr; }
    .flow-diagram { flex-direction: column; align-items: stretch; }
    .flow-diagram li:not(:last-child)::after { content: "\2193"; right: 50%; top: auto; bottom: -22px; transform: translateX(50%); }
    .mobile-call-bar { display: block; }
    body { padding-bottom: 52px; }
    .section { padding: 60px 0; }
    .hero-inner { padding: 40px 24px 48px; }
    .hero-photo img { height: 115vw; max-height: 520px; }
}

@media (max-width: 600px) {
    .header-inner { height: 60px; }
}
