/* [팔레트/카드 형태: DESIGN 06 louver.koreamasterjipsuri.com 실제 CSS 값 그대로 반영 | Primary: #D4B886 | Accent: #8B7355] */
:root{--bg:#1A1815;--sub:#2A2722;--text:#F0EBE0;--muted:#A8A299;--primary:#D4B886;--accent:#8B7355;--border:#3A3630;--r:12px;--bg-light:#F6F2EA;--text-dark:#1A1815;--muted-dark:#6B6459;--border-light:#E4DDD0}
*{box-sizing:border-box;word-break:keep-all;overflow-wrap:break-word}
html{scroll-behavior:smooth;overflow-x:hidden}
body{background:var(--bg);color:var(--text);font-family:'Pretendard Variable','Pretendard',system-ui,-apple-system,sans-serif;margin:0;line-height:1.7}
img{max-width:100%;display:block;filter:brightness(0.92)}
.site-header img{filter:brightness(1)}
a{text-decoration:none;color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

.btn-primary{background:var(--primary);color:var(--bg);padding:12px 28px;border-radius:var(--r);display:inline-block;font-weight:600;transition:opacity .2s;border:none;cursor:pointer;font-size:.95rem}
.btn-primary:hover{opacity:.88}
.btn-outline{border:2px solid var(--primary);color:var(--primary);padding:10px 26px;border-radius:var(--r);display:inline-block;font-weight:600;transition:background .2s,color .2s}
.btn-outline:hover{background:var(--primary);color:var(--bg)}

.section{padding:64px 0}
.section-sub{background:var(--sub)}
.section-title{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:700;color:var(--text);margin:0 0 12px}
.section-sub-title{color:var(--muted);margin:0 0 40px;font-size:.95rem}
h1{word-break:keep-all}

/* header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(26,24,21,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.site-header .inner{max-width:1100px;margin:0 auto;padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between}
.logo{font-weight:800;font-size:1.1rem;color:var(--primary);display:flex;align-items:center;gap:10px}
.logo img{width:32px;height:32px}
.header-cta{padding:9px 20px;font-size:.88rem}
.header-spacer{height:60px}

/* hero — 좌:텍스트(+뱃지) / 우:사진 9분할 모자이크, 화이트+브라운 톤 */
.hero-split-light{padding:56px 0;background:var(--bg-light)}
.hero-split-light .inner{max-width:1100px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center}
.hero-split-light h1{color:var(--text-dark);font-size:clamp(1.9rem,4.4vw,2.7rem);font-weight:800;margin:0 0 16px;line-height:1.25}
.hero-split-light .badge-row{margin:0 0 16px}
.hero-split-light .lead{color:var(--muted-dark);font-size:1.02rem;margin:0 0 28px;line-height:1.8}
.hero-split-light .lead b{color:var(--accent);font-weight:700}
.mosaic-9{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;aspect-ratio:4/3;background:var(--border-light);border:1px solid var(--border-light)}
.mosaic-cell{background-size:300% 300%;background-repeat:no-repeat;filter:brightness(0.96)}
@media(max-width:768px){.hero-split-light .inner{grid-template-columns:1fr;gap:26px}}

/* 화이트톤 섹션 — 다크 섹션과 교차 배치용 */
.section-light{background:var(--bg-light);color:var(--text-dark)}
.section-light .section-title{color:var(--text-dark)}
.section-light .section-sub-title{color:var(--muted-dark)}
.section-light .prose{color:var(--muted-dark)}
.section-light .prose h2,.section-light .prose h3{color:var(--text-dark)}
.section-light .badge{background:rgba(139,115,85,.08);border-color:rgba(139,115,85,.35);color:var(--accent)}
.section-light .faq-item{border-color:var(--border-light)}
.section-light .faq-q{color:var(--text-dark)}
.section-light .faq-a{color:var(--muted-dark)}
.section-light .ba-grid{background:var(--border-light);border-color:var(--border-light)}
.section-light .ba-item{background:#fff}
.section-light .ba-item .cap{color:var(--muted-dark)}
.section-light .ba-item.after .cap{color:var(--accent)}

/* badge */
.badge-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.badge{font-size:.76rem;font-weight:700;color:var(--primary);background:rgba(212,184,134,.12);border:1px solid rgba(212,184,134,.35);border-radius:999px;padding:5px 13px;letter-spacing:.02em}

/* grids — 참조사이트 grid-3-2/grid-2-2와 동일하게 gap 16px */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media(max-width:768px){.grid-3{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.grid-3{grid-template-columns:1fr}.grid-4{grid-template-columns:1fr}}

/* 그리드 카드 각지게 — 참조사이트와 동일하게 모든 카드 border-radius:0 */
.gallery-card,.info-card,.region-card,.ba-item,.process-item{border-radius:0}

/* gallery-card — NSEO 서비스 카드, 시공사진 카드 공통 (참조사이트 .gallery-card 그대로) */
.gallery-card{display:block;cursor:pointer;overflow:hidden;background:var(--sub);border:1px solid var(--border)}
.gallery-card .thumb{aspect-ratio:3/4;overflow:hidden}
.gallery-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.gallery-card:hover .thumb img{transform:scale(1.03)}
.gallery-caption{padding:12px 14px;border-top:1px solid var(--border)}
.gallery-caption strong{display:block;font-size:.88rem;font-weight:700;color:var(--text);margin-bottom:3px}
.gallery-caption span{display:block;font-size:.78rem;color:var(--muted);line-height:1.5}
.gallery-card.current{border:2px solid var(--primary)}
.gallery-card.current .gallery-caption strong{color:var(--primary)}

/* before/after 비교 카드 (참조사이트엔 없는 자체 추가 패턴 — 동일 카드 언어로 통일) */
.ba-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--border);overflow:hidden;border:1px solid var(--border)}
.ba-item{background:var(--sub)}
.ba-item .imgwrap{aspect-ratio:3/4;overflow:hidden}
.ba-item img{width:100%;height:100%;object-fit:cover}
.ba-item .cap{padding:10px 12px;font-size:.8rem;color:var(--muted);text-align:center;font-weight:700}
.ba-item.after .cap{color:var(--primary)}

/* info-card — 참조사이트 .svc-card와 동일 형태(패딩/보더/각지게), 사진 없는 텍스트 카드 */
.info-card{padding:24px;background:var(--sub);border:1px solid var(--border)}
.info-card h3{margin:0 0 6px;font-size:1rem;font-weight:700;color:var(--text)}
.info-card p{margin:0;font-size:.85rem;color:var(--muted);line-height:1.6}

/* region-card — 참조사이트 .region-card/.related-card 오버레이 카드 그대로 */
.region-card{position:relative;overflow:hidden;background:var(--sub);border:1px solid var(--border);display:block;transition:box-shadow .2s}
.region-card:hover{box-shadow:0 6px 24px rgba(0,0,0,.4)}
.region-card .imgwrap{aspect-ratio:3/4;overflow:hidden}
.region-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.region-card:hover img{transform:scale(1.04)}
.region-card .overlay{position:absolute;bottom:0;left:0;right:0;padding:40px 16px 16px;background:linear-gradient(to top,rgba(0,0,0,.72) 0%,transparent 100%)}
.region-card .overlay h3{margin:0;font-size:1rem;font-weight:700;color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.6)}

/* 모바일에서는 참조사이트처럼 카드 테두리 없애고 hairline gap으로만 구분 */
@media(max-width:768px){
  .gallery-section .grid-3,.region-section .grid-3{gap:2px;background:var(--border)}
  .gallery-section .gallery-card,.region-section .region-card{border:none}
}

/* faq */
.faq-item{border-bottom:1px solid var(--border)}
.faq-item:last-child{border-bottom:none}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:18px 0;font-size:.95rem;font-weight:600;cursor:pointer;color:var(--text);display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq-icon{font-size:1.2rem;color:var(--primary);flex-shrink:0;font-style:normal}
.faq-a{padding:0 0 18px;font-size:.9rem;color:var(--muted);line-height:1.8;margin:0}
.faq-item summary{list-style:none}
.faq-item summary::-webkit-details-marker{display:none}

/* cta */
.cta-section{background:var(--sub);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:72px 20px;text-align:center}
.cta-section h2{font-size:clamp(1.3rem,2.8vw,1.8rem);font-weight:700;margin:0 0 12px}
.cta-section p{color:var(--muted);margin:0 0 32px;font-size:.95rem}

/* footer */
.site-footer{background:#0F0E0C;color:var(--text);padding:48px 20px 32px}
.site-footer .grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:32px;max-width:1100px;margin:0 auto}
.site-footer h4{font-weight:700;color:var(--text);margin:0 0 14px;font-size:.9rem}
.site-footer p{font-size:.82rem;line-height:1.9;color:var(--muted);margin:0}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:6px}
.site-footer a{font-size:.83rem;color:var(--muted)}
.site-footer a:hover{color:var(--text)}
.site-footer .bottom{max-width:1100px;margin:32px auto 0;padding-top:20px;border-top:1px solid rgba(240,235,224,.08);font-size:.74rem;color:var(--accent);text-align:center}
@media(max-width:760px){.site-footer .grid{grid-template-columns:1fr;gap:28px}}

/* floating call button */
.floating-call{position:fixed;right:20px;bottom:20px;z-index:90;width:58px;height:58px;border-radius:50%;background:var(--primary);color:var(--bg);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.45);font-size:.7rem;font-weight:800;text-align:center;line-height:1.3}
@media(min-width:861px){.floating-call{right:32px;bottom:32px;width:64px;height:64px;font-size:.74rem}}

/* breadcrumb */
.breadcrumb{padding:12px 20px 0;font-size:.8rem;color:var(--muted);max-width:1100px;margin:0 auto}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{color:var(--primary)}

table.cost-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:.9rem}
table.cost-table th,table.cost-table td{border:1px solid var(--border);padding:12px 14px;text-align:left}
table.cost-table th{background:var(--sub);color:var(--primary);font-weight:700}
table.cost-table td{color:var(--muted)}

.prose{color:var(--muted);font-size:.96rem;line-height:1.9}
.prose h2{color:var(--text);font-size:1.35rem;font-weight:800;margin:40px 0 14px}
.prose h3{color:var(--text);font-size:1.08rem;font-weight:700;margin:26px 0 10px}
.prose ul{padding-left:20px;margin:0 0 16px}
.prose li{margin-bottom:6px}
.updated{font-size:.78rem;color:var(--accent);margin-top:40px}
