/* 포소화설비 — 밝고 현대적인 허브 디자인 시스템 */
:root {
    --ink: #10202f;
    --ink-soft: #435466;
    --line: #e3e9f0;
    --bg: #ffffff;
    --bg-soft: #f4f8fc;
    --bg-alt: #eef3f9;
    --blue: #1466c9;
    --blue-dark: #0e4f9e;
    --blue-pale: #e8f1fd;
    --accent: #ff7a45;
    --white: #ffffff;
    --text-dim: #6c7c8c;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 32px -16px rgba(16, 32, 47, 0.18);
    --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(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff;
    padding: 10px 16px; z-index: 300; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.96rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -8px rgba(20,102,201,.5); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-pale); }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,.22); }

/* ===== Header ===== */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    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; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 30px; height: 30px; border-radius: 50%; flex: none;
    background: radial-gradient(circle at 32% 28%, #7fc4ff, var(--blue) 60%, var(--blue-dark));
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--line);
}
.logo-text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.logo-text small { font-weight: 500; font-size: 0.68rem; color: var(--text-dim); }
.btn-consult-header {
    background: var(--blue); color: #fff; padding: 10px 20px; border-radius: 999px;
    font-weight: 700; font-size: 0.9rem;
}
.btn-consult-header:hover { background: var(--blue-dark); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero--sub { min-height: 56vh; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,25,40,.15) 0%, rgba(10,25,40,.35) 55%, rgba(8,20,34,.86) 100%);
}
.hero-content { position: relative; width: 100%; padding: 64px 0 56px; color: #fff; }
.hero-inner { max-width: 720px; }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; margin: 0 0 12px; }
.hero .eyebrow { color: #ffd8c2; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 6px; color: #fff; }
.hero .lede { font-size: 1.15rem; font-weight: 600; color: #eaf2ff; margin-bottom: 14px; }
.hero .answer { font-size: 1rem; color: #dfe9f5; max-width: 620px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section.bg-alt { background: var(--bg-soft); }
.section-tight { padding: 32px 0; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-desc { color: var(--text-dim); font-size: 1rem; }
h2[id] { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.2em; }
h2[id]:first-of-type { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 1.02rem; }
.prose { margin-bottom: 1.5em; }

/* ===== Gallery / Lightbox (CSS-only, :target) ===== */
.gallery-strip { padding-top: 56px; padding-bottom: 56px; }
.lightbox-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.lightbox-item {
    position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
    aspect-ratio: 1/1; box-shadow: var(--shadow);
}
.lightbox-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.lightbox-item:hover img { transform: scale(1.06); }
.lightbox-item-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
    background: linear-gradient(0deg, rgba(8,20,34,.75), transparent);
    color: #fff; font-size: 0.85rem; font-weight: 700;
}
.lightbox-overlay {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: rgba(8,14,22,.92); align-items: center; justify-content: center; padding: 32px;
}
.lightbox-overlay:target { display: flex; }
.lightbox-box { max-width: 1000px; width: 100%; }
.lightbox-box img { width: 100%; border-radius: 12px; }
.lightbox-caption { display: block; text-align: center; color: #fff; margin-top: 14px; font-weight: 600; }

/* ===== Flow / Components ===== */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
@media (max-width: 760px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flow-grid { grid-template-columns: 1fr; } }
.flow-card {
    background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
    position: relative;
}
.flow-card figure { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; margin-bottom: 14px; }
.flow-card img { width: 100%; height: 100%; object-fit: cover; }
.flow-card-num {
    position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--blue); color: #fff; font-weight: 800; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.flow-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow-card p { color: var(--text-dim); font-size: 0.9rem; margin: 0; }

/* ===== Tables ===== */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.data-table th, .data-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.data-table thead th { background: var(--blue); color: #fff; font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.data-table--compact th { width: 160px; background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.table-note { color: var(--text-dim); font-size: 0.85rem; }

/* ===== Services ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
@media (max-width: 760px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }
.service-card { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--blue-dark); }
.service-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.cta-inline {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--blue-pale); border-radius: var(--radius); padding: 24px 28px;
}
.cta-inline p { margin: 0; font-weight: 600; color: var(--ink); }

/* ===== Network / Hub ===== */
.network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.network-card {
    display: block; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
    box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.network-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(16,32,47,.28); }
.network-card--soon { opacity: .6; }
.network-role { font-size: 0.76rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 8px; }
.network-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.network-card p { color: var(--text-dim); font-size: 0.9rem; }
.network-card .arrow { font-weight: 700; color: var(--blue); font-size: 0.88rem; }
.network-card--soon .arrow { color: var(--text-dim); }

/* ===== Field gallery ===== */
.field-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.field-row {
    display: flex; align-items: center; gap: 18px; padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.field-row-num { font-family: monospace; font-weight: 700; color: var(--blue); font-size: 0.85rem; flex: none; width: 24px; }
.field-row-thumb { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); }
.field-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.field-row-cap { font-weight: 700; font-size: 1.02rem; color: var(--ink); }

@media (max-width: 640px) {
    .field-list { grid-template-columns: 1fr; }
}

/* ===== Check list ===== */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 0.96rem; }
.check-list li::before {
    content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
    background: var(--blue); color: #fff; font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; padding: 16px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; font-size: 1rem; font-weight: 700; margin: 0; }
.faq-item summary::after { content: "+"; float: right; font-size: 1.3rem; color: var(--blue); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; color: var(--ink-soft); margin: 0; }

/* ===== Consultation ===== */
.consult-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; text-align: center; }
.consult-note { color: var(--text-dim); margin-bottom: 24px; }
.consult-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.flow-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 32px; }
@media (max-width: 480px) { .flow-strip { grid-template-columns: 1fr; } }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow); }
.flow-step h3 { font-size: 0.98rem; margin-bottom: 6px; color: var(--blue-dark); }
.flow-step p { font-size: 0.88rem; color: var(--text-dim); margin: 0; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: 56px 0; }
.cta-inner {
    max-width: 1180px; margin: 0 auto; padding: 0 24px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-eyebrow { color: #cfe3ff; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: .04em; margin-bottom: 8px; }
.cta-copy h2 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; max-width: 560px; }
.cta-copy p { color: #dfe9f5; margin: 0; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cbd6e2; padding: 56px 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.footer-logo { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-logo small { font-weight: 500; font-size: 0.72rem; color: #9fb0c2; }
.footer-biz-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; font-size: 0.86rem; }
.footer-biz-info a { color: #cbd6e2; }

@media (max-width: 760px) {
    .hero { min-height: 78vh; }
    .section { padding: 56px 0; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
