/* ==========================================================================
   포소화협회(JMSYS) 폼탱크 블래더교체 사이트 - 공통 스타일시트
   ========================================================================== */

:root {
    --navy: #152A3D;
    --navy-2: #1f3b52;
    --navy-tint: #eef2f6;
    --red: #b8342a;
    --red-dark: #96281f;
    --red-tint: #fbeae8;
    --gray-50: #f7f8fa;
    --gray-100: #eef0f3;
    --gray-200: #dde1e6;
    --gray-400: #9aa3ad;
    --gray-500: #6b7480;
    --gray-700: #3a4048;
    --gray-900: #1c2126;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 4px 20px rgba(21, 42, 61, 0.08);
    --shadow-lg: 0 12px 40px rgba(21, 42, 61, 0.14);
    --maxw: 1180px;
    --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--gray-900);
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
    padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- 버튼 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, opacity .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ---------- 헤더 ---------- */
.site-header {
    position: sticky; top: 0; z-index: 500; background: #fff;
    border-bottom: 1px solid var(--gray-200);
}
.header-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px; background: var(--navy);
    background-image: linear-gradient(160deg, var(--navy) 55%, var(--red) 55%);
    flex: none;
}
.logo-text { display: flex; flex-direction: column; font-weight: 800; color: var(--navy); font-size: 1.15rem; line-height: 1.2; }
.logo-text small { font-weight: 500; font-size: .68rem; color: var(--gray-500); letter-spacing: .02em; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block; padding: 12px 14px; font-weight: 600; color: var(--gray-700); border-radius: 8px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.is-active { color: var(--navy); background: var(--navy-tint); }

.has-dropdown .dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 18px; width: 460px;
    opacity: 0; visibility: hidden; translate: 0 6px; transition: all .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.dropdown-highlight {
    display: block; padding: 10px 12px; margin-bottom: 10px; border-radius: var(--radius-sm);
    background: var(--red-tint); color: var(--red-dark); font-weight: 700; font-size: .92rem;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.dropdown-grid a { padding: 8px 10px; border-radius: var(--radius-sm); font-size: .88rem; color: var(--gray-700); }
.dropdown-grid a:hover { background: var(--gray-50); color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-consult-header {
    display: flex; align-items: center; background: var(--navy); color: #fff;
    padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
}
.btn-consult-header:hover { opacity: .88; }
.btn-call-header {
    display: flex; align-items: center; gap: 8px; background: var(--red); color: #fff;
    padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
}
.btn-call-header:hover { background: var(--red-dark); }
.call-icon { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; display: inline-block; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- 히어로 공통 ---------- */
.hero { position: relative; overflow: hidden; }
.eyebrow {
    display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
    color: var(--red-dark); background: var(--red-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); color: var(--navy); }
.hero .lede { font-size: 1.1rem; color: var(--gray-700); max-width: 62ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* 전체 배경형 히어로: 사진만 노출, 텍스트는 사진 아래 */
.hero--full .hero-media { position: static; aspect-ratio: 16/9; }
.hero--full .hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* 사진을 완전히 숨기고 단색 배경만 사용하는 히어로 (텍스트 가독성 우선) */
.hero--full.no-photo .hero-media { background: var(--navy); }
.hero--full.no-photo .hero-media img { opacity: 0; }
.hero--full .hero-content { position: static; padding: 28px 24px; color: var(--gray-700); }

/* 분할형 히어로 (이미지+텍스트) */
.hero--split .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 24px; }
.hero--split.image-left .container { direction: rtl; }
.hero--split.image-left .container > * { direction: ltr; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero--split { background: var(--gray-50); }

/* 컴팩트 히어로 (내부 페이지용) */
.hero--compact { background: var(--navy); color: #fff; padding: 56px 0; }
.hero--compact .lede { color: rgba(255,255,255,.82); }
.hero--compact .eyebrow { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 44px 0; }
.section-airy { padding: 108px 0; }
.section.bg-alt { background: var(--gray-50); }
.section.bg-navy { background: var(--navy); color: #fff; }
.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.5rem, 3vw, 2.1rem); color: var(--navy); }
.section.bg-navy .section-head h2 { color: #fff; }
.section-head p { color: var(--gray-500); }

/* 사진+문구 결합 밴드 */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.photo-strip figure { position: relative; margin: 0; aspect-ratio: 3/4; overflow: hidden; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 12px;
    background: linear-gradient(0deg, rgba(0,0,0,.72), transparent);
    color: #fff; font-size: .84rem; font-weight: 600;
}

/* ---------- 현장 영상 ---------- */
.video-embed {
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    background: #000; aspect-ratio: 16/9;
}
.video-embed video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-caption { margin-top: 12px; color: var(--gray-500); font-size: .88rem; text-align: center; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 960px) {
    .video-grid { grid-template-columns: 1fr; }
}

/* ---------- 카드 그리드 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
ul.cards, ul.link-cards { list-style: none; margin: 0; padding: 0; }
ul.link-cards > li { display: contents; }
.card {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); font-size: 1.1rem; }
.card p { color: var(--gray-500); margin: 0; font-size: .95rem; }
.card .card-num { display: inline-block; font-weight: 800; color: var(--red); font-size: .82rem; margin-bottom: 10px; }
.card-img {
    margin: -28px -28px 20px; aspect-ratio: 4/3; overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }

/* 허브/서비스 링크 카드 */
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.link-card {
    display: block; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
    padding: 26px; transition: box-shadow .15s ease, transform .15s ease;
}
.link-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.link-card .tag { font-size: .76rem; font-weight: 700; color: var(--red-dark); background: var(--red-tint); padding: 4px 10px; border-radius: 999px; }
.link-card h3 { margin: 12px 0 8px; color: var(--navy); font-size: 1.08rem; }
.link-card p { color: var(--gray-500); font-size: .92rem; margin: 0; }
.link-card .arrow { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--navy); font-size: .88rem; }

/* ---------- 체크리스트 ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li {
    display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius); padding: 18px 20px;
}
.checklist .mark {
    flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-tint); color: var(--navy);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.checklist strong { display: block; color: var(--navy); margin-bottom: 4px; }
.checklist span { color: var(--gray-500); font-size: .92rem; }

/* ---------- 타임라인 ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-200); }
.timeline-step { position: relative; padding-bottom: 40px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
    content: ""; position: absolute; left: -40px; top: 2px; width: 28px; height: 28px; border-radius: 50%;
    background: var(--red); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--red);
}
.timeline-step .step-no { color: var(--red-dark); font-weight: 800; font-size: .8rem; letter-spacing: .04em; }
.timeline-step h3 { color: var(--navy); margin: 4px 0 8px; }
.timeline-step p { color: var(--gray-500); }

/* ---------- 비교표 ---------- */
.table-compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-compare th, .table-compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: .95rem; }
.table-compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.table-compare tbody tr:last-child td { border-bottom: none; }
.table-compare tbody tr:nth-child(even) { background: var(--gray-50); }
.table-compare td.highlight, .table-compare th.highlight { color: var(--red-dark); font-weight: 700; }

/* ---------- FAQ (아코디언, <details> 사용) ---------- */
.faq-item {
    background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
    cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--gray-400); flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--gray-500); }

/* Q&A 상시 노출형 (아코디언과 구분되는 디자인) */
.qa-block { display: grid; gap: 22px; }
.qa-item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.qa-item .qa-icon {
    width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.05rem; flex: none;
}
.qa-item.q .qa-icon { background: var(--navy); color: #fff; }
.qa-item.a .qa-icon { background: var(--red-tint); color: var(--red-dark); }
.qa-item h3, .qa-item p { margin: 0; }
.qa-item h3 { color: var(--navy); font-size: 1.05rem; padding-top: 8px; }
.qa-item p { color: var(--gray-500); padding-top: 8px; }

/* ---------- 통계/프로세스 스트립 ---------- */
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; counter-reset: step; }
.process-strip .step {
    background: var(--navy); color: #fff; padding: 26px 20px; position: relative;
}
.process-strip .step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: block; font-size: 1.6rem; font-weight: 800; color: rgba(255,255,255,.35); margin-bottom: 10px;
}
.process-strip .step:nth-child(even) { background: var(--navy-2); }
.process-strip .step h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.process-strip .step p { color: rgba(255,255,255,.72); font-size: .88rem; margin: 0; }

/* ---------- CTA 밴드 ---------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 56px 24px; display: flex; align-items: center;
    justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-eyebrow { color: rgba(255,255,255,.6); font-weight: 700; font-size: .82rem; letter-spacing: .04em; margin-bottom: 8px; }
.cta-copy h2 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.cta-copy p { color: rgba(255,255,255,.75); margin: 0; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA 미니 바 (콘텐츠 상세페이지 중간 삽입용) */
.cta-inline {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    background: var(--red-tint); border-radius: var(--radius); padding: 24px 28px; margin: 40px 0;
}
.cta-inline p { margin: 0; color: var(--red-dark); font-weight: 700; }

/* ---------- 상담페이지 전용 ---------- */
.flow-strip { display: flex; flex-wrap: wrap; gap: 0; counter-reset: flow; }
.flow-strip .flow-step { flex: 1 1 200px; text-align: center; padding: 24px 16px; position: relative; }
.flow-strip .flow-step:not(:last-child)::after {
    content: "\2192"; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    color: var(--gray-400); font-size: 1.2rem;
}
.flow-strip .flow-num {
    counter-increment: flow; content: counter(flow); display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
    margin: 0 auto 12px;
}
.flow-strip .flow-num::before { content: counter(flow); }
.flow-strip h3 { font-size: .98rem; color: var(--navy); margin-bottom: 4px; }
.flow-strip p { font-size: .86rem; color: var(--gray-500); margin: 0; }

.info-panel { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 26px; }
.info-panel h3 { color: var(--navy); font-size: 1.05rem; }
.info-panel ul { display: grid; gap: 10px; }
.info-panel li { color: var(--gray-500); font-size: .92rem; padding-left: 18px; position: relative; }
.info-panel li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.prose { color: var(--gray-700); }
.prose h2 { color: var(--navy); margin-top: 1.4em; }
.prose h3 { color: var(--navy); margin-top: 1.2em; font-size: 1.1rem; }
.prose p { max-width: 74ch; }
.prose ul { list-style: disc; max-width: 74ch; margin: 1em 0; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }

/* 텍스트 + 사진 2단 구성 (본문 위주 섹션에 사진을 곁들일 때 사용) */
.text-media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: stretch; }
.text-media .prose { align-self: center; }
.text-media .hero-photo { aspect-ratio: auto; height: 100%; min-height: 320px; }
@media (max-width: 960px) {
    .text-media { grid-template-columns: 1fr; align-items: start; }
    .text-media .hero-photo { height: auto; aspect-ratio: 16/9; order: -1; min-height: 0; }
}
.note-box {
    background: var(--gray-50); border-left: 4px solid var(--navy); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 20px; color: var(--gray-500); font-size: .92rem; margin: 24px 0;
}

/* ---------- 빈 템플릿(서비스 상세/지역서비스) ---------- */
.placeholder-panel {
    border: 2px dashed var(--gray-200); border-radius: var(--radius-lg); padding: 64px 32px; text-align: center; color: var(--gray-400);
}
.placeholder-panel h2 { color: var(--gray-500); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.7); }
.footer-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 32px;
    display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 32px;
}
.footer-logo { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.footer-biz-info li { margin-bottom: 6px; font-size: .88rem; }
.footer-biz-info a { color: rgba(255,255,255,.7); }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: .92rem; }
.footer-col ul li { margin-bottom: 8px; font-size: .88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 24px; text-align: center; font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* 모바일 하단 전화 고정바 */
.mobile-call-bar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 600;
    background: var(--red); color: #fff; text-align: center; padding: 14px; font-weight: 700;
    align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}

/* ==========================================================================
   확장 디자인 시스템 (전문 콘텐츠 20종 차별화용)
   ========================================================================== */

/* ---------- 다크 리포트 히어로 (원인분석/성능리포트) ---------- */
.hero--dark { background: var(--gray-900); color: #fff; position: relative; overflow: hidden; }
.hero--dark .hero-media-bg { position: absolute; inset: 0; z-index: 0; }
.hero--dark .hero-media-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero--dark .hero-media-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,20,25,.94), rgba(21,42,61,.86)); }
.hero--dark .container { position: relative; z-index: 1; padding: 84px 24px; }
.hero--dark h1 { color: #fff; }
.hero--dark .lede { color: rgba(255,255,255,.8); }
.hero--dark .eyebrow { background: rgba(184,52,42,.28); color: #ff9a8f; }

/* ---------- 진단 비교 (정상 vs 이상) ---------- */
.diagnose-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diagnose-box { border-radius: var(--radius); padding: 26px 28px; border: 2px solid var(--gray-200); }
.diagnose-box.ok { border-color: #2f8f5b; background: #f2faf5; }
.diagnose-box.warn { border-color: var(--red); background: var(--red-tint); }
.diagnose-box .diag-label { font-weight: 800; font-size: .8rem; letter-spacing: .05em; margin-bottom: 10px; display: block; }
.diagnose-box.ok .diag-label { color: #237049; }
.diagnose-box.warn .diag-label { color: var(--red-dark); }
.diagnose-box ul { list-style: disc; padding-left: 1.2em; margin: 0; }
.diagnose-box li { color: var(--gray-700); font-size: .92rem; margin-bottom: 6px; }

/* ---------- 디지털 체크리스트 (현장 점검표) ---------- */
.digital-checklist { display: grid; gap: 2px; background: var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.digital-checklist li { background: #fff; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 20px; align-items: flex-start; }
.digital-checklist .dc-box { width: 22px; height: 22px; border: 2px solid var(--navy); border-radius: 5px; margin-top: 2px; flex: none; }
.digital-checklist strong { display: block; color: var(--navy); margin-bottom: 4px; }
.digital-checklist span { color: var(--gray-500); font-size: .9rem; }

/* ---------- 청사진 / 기술도면 스타일 ---------- */
.blueprint { background: #0f2437; color: #bcd7ea; border-radius: var(--radius-lg); padding: 40px; position: relative; }
.blueprint::before { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(188,215,234,.35); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.blueprint h3 { color: #fff; letter-spacing: .03em; }
.blueprint p { color: #9cc0d9; }
.blueprint .bp-spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; position: relative; }
.blueprint .bp-item { border: 1px solid rgba(188,215,234,.3); border-radius: 8px; padding: 14px 16px; font-size: .9rem; }
.blueprint .bp-item .bp-k { color: #7fa9c4; display: block; font-size: .74rem; letter-spacing: .06em; margin-bottom: 4px; }
.blueprint .bp-table { width: 100%; border-collapse: collapse; margin-top: 20px; position: relative; }
.blueprint .bp-table th, .blueprint .bp-table td { border: 1px solid rgba(188,215,234,.3); padding: 12px 16px; font-size: .9rem; text-align: left; }
.blueprint .bp-table th { color: #7fa9c4; font-size: .74rem; letter-spacing: .06em; font-weight: 600; white-space: nowrap; width: 1%; }

/* ---------- 계기판 / 대시보드 ---------- */
.dashboard-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.dash-card { background: var(--navy-2); color: #fff; border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.dash-card .dash-label { font-size: .72rem; letter-spacing: .06em; color: rgba(255,255,255,.55); display: block; margin-bottom: 10px; }
.dash-card .dash-state { font-weight: 800; font-size: 1rem; }
.dash-card.check { background: var(--red-dark); }

/* ---------- 설비 네트워크 맵 ---------- */
.network-map { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 420px; margin: 0 auto; }
.network-node { width: 100%; text-align: center; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: 14px 26px; font-weight: 700; color: var(--navy); }
.network-link { width: 2px; height: 26px; background: var(--gray-200); }

/* ---------- 부품 매크로 캘아웃 ---------- */
.macro-callout { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.macro-callout img { width: 100%; display: block; }
.macro-pin {
    position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
    font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .85rem;
    box-shadow: 0 0 0 5px rgba(184,52,42,.25);
}

/* ---------- 진단/의사결정 트리 ---------- */
.tree-node { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px 20px; background: #fff; }
.tree-node + .tree-node { margin-top: 10px; }
.tree-node.q { background: var(--navy); color: #fff; font-weight: 700; }
.tree-node.branch { margin-left: 32px; border-left: 3px solid var(--red); }
.tree-arrow { text-align: center; color: var(--gray-400); font-size: 1.1rem; margin: 4px 0; }

/* ---------- 흐름 비교 (정상 vs 이상 Flow) ---------- */
.flow-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.flow-compare .flow-col { border-radius: var(--radius-lg); padding: 28px; }
.flow-compare .flow-col.normal { background: #f2faf5; border: 2px solid #2f8f5b; }
.flow-compare .flow-col.abnormal { background: var(--red-tint); border: 2px solid var(--red); }
.flow-compare .flow-tag { font-weight: 800; letter-spacing: .05em; font-size: .82rem; display: block; margin-bottom: 16px; }
.flow-compare .flow-col.normal .flow-tag { color: #237049; }
.flow-compare .flow-col.abnormal .flow-tag { color: var(--red-dark); }
.flow-compare ol { margin: 0; padding-left: 1.2em; }
.flow-compare li { color: var(--gray-700); font-size: .92rem; margin-bottom: 8px; }

/* ---------- 프리미엄 매뉴얼 ---------- */
.manual-hero { background: linear-gradient(160deg, var(--navy) 0%, #0c1c29 100%); color: #fff; padding: 96px 0; }
.manual-hero .eyebrow { background: rgba(255,255,255,.12); color: #f3d9b8; }
.manual-hero h1 { color: #fff; }
.manual-hero .lede { color: rgba(255,255,255,.78); }
.manual-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.manual-card .manual-tag { display: block; font-weight: 800; letter-spacing: .08em; font-size: .78rem; color: var(--red-dark); margin-bottom: 10px; }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 960px) {
    .main-nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 400;
        transform: translateY(-110%); transition: transform .2s ease; overflow-y: auto; }
    .main-nav.is-open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px; gap: 2px; }
    .main-nav > ul > li > a { padding: 16px; font-size: 1.05rem; }
    .has-dropdown .dropdown {
        position: static; transform: none; width: auto; box-shadow: none; opacity: 1; visibility: visible;
        display: none; margin: 0 0 8px; border: none; background: var(--gray-50);
    }
    .has-dropdown.is-open .dropdown { display: block; }
    .dropdown-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: flex; }
    .btn-call-header span.call-icon { display: none; }
    .btn-call-header, .btn-consult-header { padding: 10px 14px; }

    .hero--split .container { grid-template-columns: 1fr; padding: 40px 24px; }
    .hero--split.image-left .container { direction: ltr; }
    .hero--split .hero-photo { order: -1; }

    .cards { grid-template-columns: 1fr 1fr; }
    .photo-strip { grid-template-columns: repeat(2, 1fr); }
    .process-strip { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .mobile-call-bar { display: flex; }
    body { padding-bottom: 54px; }
    .flow-strip .flow-step:not(:last-child)::after { display: none; }

    .diagnose-compare { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .blueprint .bp-spec { grid-template-columns: 1fr; }
    .flow-compare { grid-template-columns: 1fr; }
    .tree-node.branch { margin-left: 12px; }
}

@media (max-width: 640px) {
    .cards { grid-template-columns: 1fr; }
    .photo-strip { grid-template-columns: repeat(2, 1fr); }
    .process-strip { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
    .section-airy { padding: 64px 0; }
    .header-inner { height: 64px; gap: 8px; }
    .logo-text small { display: none; }
    .header-actions { gap: 6px; }
    .btn-call-header, .btn-consult-header { padding: 8px 12px; font-size: .82rem; }
}

/* ==========================================================================
   3차 폼블래더 상세페이지 (fb-*) — 신규 페이지 전용, 기존 클래스 비변경
   ========================================================================== */
.fb-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fb-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.fb-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.fb-gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--gray-200); }
.fb-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.fb-gallery.sq img { aspect-ratio: 1/1; }
.fb-gallery figcaption { padding: 10px 12px; font-size: .85rem; color: var(--gray-700); font-weight: 600; }
.fb-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.fb-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.fb-photo.sq img { aspect-ratio: 1/1; }
.fb-photo figcaption { padding: 10px 14px; font-size: .85rem; background: #fff; color: var(--gray-700); }
.fb-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.fb-split.rev { grid-template-columns: .85fr 1.15fr; }
.fb-split.rev > :first-child { order: 2; }
.fb-split .fb-photo { max-width: 380px; width: 100%; justify-self: center; }
.fb-hero-facts { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 22px 24px; }
.fb-hero-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.fb-hero-facts dt { color: rgba(255,255,255,.6); font-size: .85rem; }
.fb-hero-facts dd { margin: 0; font-weight: 700; }
.fb-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.fb-answer { background: var(--navy-tint); border-left: 5px solid var(--red); border-radius: var(--radius-sm); padding: 20px 24px; font-size: 1.02rem; color: var(--gray-900); }
.fb-table-wrap { overflow-x: auto; }
.fb-table-wrap table { min-width: 560px; }
.fb-table-wrap caption { text-align: left; font-weight: 700; color: var(--navy); padding: 0 0 10px; }
.fb-steps { list-style: none; margin: 0; padding: 0; counter-reset: fbs; display: grid; gap: 14px; }
.fb-steps li { counter-increment: fbs; display: grid; grid-template-columns: 52px 1fr; gap: 16px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 18px 20px; align-items: start; }
.fb-steps li::before { content: counter(fbs, decimal-leading-zero); font-weight: 800; font-size: 1.5rem; color: var(--red); }
.fb-steps h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--navy); }
.fb-steps p { margin: 0; color: var(--gray-700); }
.fb-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; }
.fb-stage > div { background: var(--navy); color: #fff; padding: 22px 18px; border-right: 1px solid rgba(255,255,255,.15); }
.fb-stage > div:nth-child(even) { background: var(--navy-2); }
.fb-stage b { display: block; color: #ffb8b0; font-size: .8rem; letter-spacing: .06em; margin-bottom: 6px; }
.fb-stage h3 { color: #fff; margin: 0 0 6px; font-size: 1.05rem; }
.fb-stage p { margin: 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.fb-axis { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; border-top: 4px solid var(--navy); margin-top: 24px; }
.fb-axis > div { position: relative; padding: 26px 16px 8px; }
.fb-axis > div::before { content: ""; position: absolute; top: -12px; left: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--red); }
.fb-axis b { display: block; color: var(--red-dark); font-size: .85rem; margin-bottom: 4px; }
.fb-axis h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--navy); }
.fb-axis p { margin: 0; font-size: .92rem; color: var(--gray-700); }
.fb-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.fb-badges li { background: var(--navy-tint); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 700; }
.fb-cross { max-width: 520px; margin: 0 auto; border: 4px solid var(--navy); border-radius: 36px; padding: 22px; background: var(--gray-100); }
.fb-cross .layer { border-radius: 24px; padding: 18px; text-align: center; font-weight: 700; color: #fff; }
.fb-cross .l-tank { background: var(--red-dark); } .fb-cross .l-water { background: #2d6fa3; margin-top: 12px; } .fb-cross .l-bladder { background: #e8eef4; color: var(--navy); margin-top: 12px; border: 3px dashed var(--navy); } .fb-cross .l-foam { background: #d9a21b; color: #3a2a00; margin-top: 12px; }
.fb-cross small { display: block; font-weight: 500; opacity: .85; margin-top: 2px; }
.fb-note { background: var(--red-tint); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--red-dark); font-size: .92rem; }
.fb-company { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.fb-company h2 { color: #fff; margin-top: 0; }
.fb-company .chain { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0; padding: 0; list-style: none; font-size: .88rem; }
.fb-company .chain li { background: rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; }
.fb-company .chain li:not(:last-child)::after { content: "\2192"; margin-left: 10px; opacity: .6; }
.fb-company .chain a { color: #fff; }
.fb-company dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.fb-company dt { color: rgba(255,255,255,.6); } .fb-company dd { margin: 0; } .fb-company a { color: #ffb8b0; }
.fb-related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.fb-related a { display: block; height: 100%; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 14px 14px 12px; }
.fb-related a:hover { box-shadow: var(--shadow); }
.fb-related b { display: block; color: var(--navy); font-size: .95rem; margin-bottom: 4px; }
.fb-related span { color: var(--gray-500); font-size: .8rem; line-height: 1.4; display: block; }
.faq-item summary h3 { display: inline; font: inherit; margin: 0; }
@media (max-width: 960px) {
    .fb-gallery, .fb-gallery.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .fb-split, .fb-split.rev, .fb-hero-grid { grid-template-columns: 1fr; }
    .fb-split.rev > :first-child { order: 0; }
    .fb-axis { grid-auto-flow: row; border-top: 0; border-left: 4px solid var(--navy); margin-left: 10px; }
    .fb-axis > div::before { top: 26px; left: -14px; }
    .fb-axis > div { padding-left: 24px; }
    .fb-related { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
    .fb-related li { flex: 0 0 168px; scroll-snap-align: start; }
}
