/* 테마 B: 럭셔리 콜라주형 / radius 0 / 딥차콜·웜그레이·오프화이트·골드포인트 / label-badge / btn-underline / grid-3 */

:root {
  --primary: #B08D57;
  --bg: #F5F2ED;
  --surface: #FFFFFF;
  --text: #2A2825;
  --text-muted: #8B8378;
  --border: #E4DFD6;
  --card-radius: 0;
  --primary-rgba-06: rgba(176, 141, 87, 0.06);
  --primary-rgba-35: rgba(176, 141, 87, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  word-break: keep-all;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 800; letter-spacing: 0.02em; margin: 0 0 0.6em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.2rem; }
section { padding: 6.5rem 0; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.35em 0.9em;
  margin-bottom: 1.2rem;
}
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--text-muted); }

/* 버튼: 언더라인형 고정 (테마B) */
.btn-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.2em;
  transition: opacity 0.2s;
}
.btn-underline:hover { opacity: 0.65; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-mark { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.06em; }
.brand-mark .sub { display: block; font-size: 0.68rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.04em; }
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a.nav-link { font-size: 0.92rem; }
.site-nav a.nav-cta { font-size: 0.85rem; }
@media (max-width: 860px) { .site-nav .nav-link { display: none; } }

/* Hero collage */
.hero-b { position: relative; padding: 9rem 0 5rem; overflow: hidden; }
.hero-collage {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  opacity: 0.9;
}
.hero-collage img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); }
.hero-collage .tile:nth-child(2) { margin-top: 60px; }
.hero-collage .tile:nth-child(4) { margin-top: 30px; }
.hero-collage .tile:nth-child(6) { margin-top: 80px; }
.hero-b::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(245,242,237,0.55) 0%, rgba(245,242,237,0.88) 70%, rgba(245,242,237,1) 100%);
}
.hero-b-content { position: relative; z-index: 2; text-align: center; }
.hero-b-content .brand-en { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.2rem; }
.hero-b-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.hero-b-content .tagline { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.hero-scroll { display: inline-block; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-muted); }
@media (max-width: 760px) {
  .hero-collage { grid-template-columns: repeat(3, 1fr); }
  .hero-collage .tile:nth-child(n+4) { display: none; }
}

/* Quicklinks */
.quicklinks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.quicklink-card { background: var(--surface); padding: 2rem 1.2rem; text-align: center; }
.quicklink-card img { width: 100%; height: 130px; object-fit: cover; margin-bottom: 1rem; }
.quicklink-card .ql-label { font-weight: 700; font-size: 0.95rem; }
@media (max-width: 900px) { .quicklinks { grid-template-columns: repeat(2, 1fr); } }

/* Grid (portfolio/services) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden; transition: all .3s; cursor: pointer; text-decoration: none; display: block;
  background: var(--surface);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(42,40,37,.12); border-color: var(--primary); }
.portfolio-card img { width: 100%; height: 220px; object-fit: cover; }
.portfolio-card .pc-body { padding: 1.2rem 1.4rem 1.5rem; }
.portfolio-card .pc-badge { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--primary); font-weight: 700; text-transform: uppercase; }
.portfolio-card h3 { margin: 0.5em 0 0.2em; font-size: 1.05rem; }
.portfolio-card .pc-sub { color: var(--text-muted); font-size: 0.85rem; }

/* Mid banner */
.mid-banner {
  position: relative; padding: 5rem 0; text-align: center; color: #fff;
  background: linear-gradient(rgba(20,18,15,.55), rgba(20,18,15,.55)), var(--banner-img, none) center/cover;
}
.mid-banner h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.mid-banner .btn-underline { color: #fff; border-color: #fff; }

/* Services */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service-item { background: var(--surface); padding: 2.2rem; }
.service-item .num { font-size: 0.8rem; color: var(--primary); font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 860px) { .service-list { grid-template-columns: 1fr; } }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step .num { font-size: 2rem; font-weight: 800; color: var(--primary); }
@media (max-width: 860px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }

/* Brand story */
.story-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.story-3col .story-col .label-en { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 860px) { .story-3col { grid-template-columns: 1fr; } }

/* Trust */
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trust-list li { border-top: 2px solid var(--primary); padding-top: 1rem; }
.trust-facts { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; }
@media (max-width: 760px) { .trust-list { grid-template-columns: 1fr; } }

/* Reviews */
.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: var(--surface); border: 1px solid var(--border); padding: 1.8rem; }
.review-card .stars { color: var(--primary); font-size: 0.85rem; margin-bottom: 0.8rem; letter-spacing: 0.15em; }
.review-card .who { margin-top: 1rem; font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 860px) { .review-list { grid-template-columns: 1fr; } }

/* Service area */
.area-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-tags span { border: 1px solid var(--border); padding: 0.5em 1.1em; font-size: 0.88rem; }

/* Mood banner (no text) */
.mood-banner { height: 380px; background-size: cover; background-position: center; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.4rem 0; font-size: 1.02rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); font-family: inherit; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--text-muted); font-size: 0.92rem; }
.faq-a-inner { padding-bottom: 1.4rem; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-icon { transition: transform .3s; color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Minimal CTA */
.cta-minimal { text-align: center; }
.cta-minimal .section-label { display: block; margin: 0 auto 1.5rem; width: fit-content; }
.cta-minimal blockquote { font-size: 1.6rem; font-weight: 700; margin: 0 0 2rem; font-style: normal; }

/* Footer */
.site-footer { background: var(--text); color: #D9D3C7; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid a, .footer-grid p { color: #B5AE9E; font-size: 0.88rem; display: block; margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; font-size: 0.78rem; color: #8b8378; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating */
.floating-btns { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.floating-btns a {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--text); color: #fff; box-shadow: 0 6px 20px rgba(42,40,37,.3);
}
.floating-btns a.fb-call { background: var(--primary); }

/* Sub hero (NSEO / consultation) */
.sub-hero { padding: 10rem 0 4rem; text-align: center; }
.sub-hero p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* Detail hero */
.detail-hero { position: relative; padding: 11rem 0 4rem; color: #fff; background-size: cover; background-position: center; }
.detail-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.detail-hero .container { position: relative; z-index: 1; }
.detail-hero .back-link { display: inline-block; margin-bottom: 1.5rem; font-size: 0.85rem; color: #eee; }
.detail-hero .loc { color: #ddd; margin-top: 0.5rem; }

.info-bar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); background: var(--surface); }
.info-bar div { padding: 1.4rem; border-right: 1px solid var(--border); }
.info-bar div:last-child { border-right: none; }
.info-bar .k { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.3em; }
.info-bar .v { font-weight: 700; }
@media (max-width: 760px) { .info-bar { grid-template-columns: repeat(2, 1fr); } .info-bar div:nth-child(2) { border-right: none; } }

/* Story body (blog style) */
.story-body { max-width: 720px; margin: 0 auto; font-size: 1rem; line-height: 1.9; }
.story-body p { margin-bottom: 1.5rem; }
.story-body figure { margin: 2rem 0; }
.story-body figure img { width: 100%; border-radius: var(--card-radius); }
.story-body figcaption { margin-top: .5rem; font-size: .85rem; color: var(--text-muted); text-align: center; }
.story-body mark {
  background: var(--primary-rgba-35);
  padding: 0.05em 0.2em;
  border-radius: 2px;
  font-weight: 600;
}
.story-quote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.05rem;
  font-style: italic;
  background: var(--primary-rgba-06);
}
.story-quote .signature { display: block; margin-top: .75rem; font-size: .85rem; font-style: normal; color: var(--text-muted); text-align: right; }
.result-box { max-width: 720px; margin: 0 auto 3rem; background: var(--surface); border: 1px solid var(--border); padding: 2rem; }
.result-box ul { margin: 0; padding-left: 1.2rem; }
.result-box li { margin-bottom: 0.5rem; }
.related-cases { max-width: 720px; margin: 0 auto; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-grid figure { margin: 0; position: relative; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; }
.gallery-grid figcaption { font-size: 0.82rem; margin-top: 0.5rem; color: var(--text-muted); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
