/* 테마 B: 럭셔리 콜라주형 / 모서리 0 / grid-3 / label-badge / btn-underline */

:root {
  --bg: #F5F2ED;
  --bg-alt: #EDE7DC;
  --ink: #2A2825;
  --ink-soft: #4A4640;
  --muted: #8B8378;
  --primary: #B08D57;
  --primary-rgb: 176, 141, 87;
  --border: rgba(42, 40, 37, 0.14);
  --card-radius: 0;
  --font: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  line-height: 1.7;
  -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 { margin: 0; letter-spacing: 0.02em; font-weight: 700; }
p { margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 6.5rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

/* 섹션 레이블: label-badge (무배경, 자간 확장) */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.section-head { margin-bottom: 3.5rem; max-width: 640px; }
.section-head h2 { font-size: 2rem; letter-spacing: 0.03em; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1rem; }
@media (max-width: 640px) { .section-head h2 { font-size: 1.5rem; } }

/* 버튼: 언더라인형 */
.btn-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  transition: all 0.25s;
}
.btn-underline:hover { color: var(--primary); border-color: var(--primary); gap: 0.9rem; }
.btn-underline.primary { color: var(--primary); border-color: var(--primary); }

/* 헤더 */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand .kr { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; }
.brand .en { font-size: 0.65rem; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.gnb { display: flex; gap: 2.2rem; }
.gnb a { font-size: 0.92rem; font-weight: 600; }
.gnb a:hover { color: var(--primary); }
.header-cta { font-size: 0.85rem; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .gnb { display: none; }
}

/* Hero 모자이크 콜라주 */
.hero-collage { position: relative; padding: 150px 0 80px; overflow: hidden; }
.collage-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 70px);
  gap: 10px;
  position: relative;
}
.collage-grid img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.collage-grid .c1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.collage-grid .c2 { grid-column: 3 / 5; grid-row: 1 / 3; }
.collage-grid .c3 { grid-column: 5 / 7; grid-row: 1 / 3; }
.collage-grid .c4 { grid-column: 1 / 3; grid-row: 3 / 5; }
.collage-grid .c5 { grid-column: 3 / 5; grid-row: 3 / 5; }
.collage-grid .c6 { grid-column: 5 / 7; grid-row: 3 / 5; }
.hero-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; z-index: 5; width: 90%;
  background: rgba(245, 242, 237, 0.88);
  padding: 3rem 2rem;
  backdrop-filter: blur(6px);
}
.hero-center .brandmark { font-size: 0.8rem; letter-spacing: 0.3em; color: var(--primary); text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-center h1 { font-size: 2.6rem; letter-spacing: 0.03em; }
.hero-center .tagline { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-soft); }
.hero-scroll { display: block; margin: 2rem auto 0; font-size: 0.78rem; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; text-align: center; }
@media (max-width: 768px) {
  .collage-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(6, 60px); }
  .collage-grid .c1 { grid-column: 1 / 3; grid-row: 1 / 3; }
  .collage-grid .c2 { grid-column: 3 / 5; grid-row: 1 / 3; }
  .collage-grid .c3 { grid-column: 1 / 3; grid-row: 3 / 5; }
  .collage-grid .c4 { grid-column: 3 / 5; grid-row: 3 / 5; }
  .collage-grid .c5 { grid-column: 1 / 3; grid-row: 5 / 7; }
  .collage-grid .c6 { grid-column: 3 / 5; grid-row: 5 / 7; }
  .hero-center { padding: 2rem 1.2rem; }
  .hero-center h1 { font-size: 1.7rem; }
}

/* 퀵링크 (사진+텍스트 카드) */
.quicklinks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 4rem; }
.quicklink { background: var(--bg); padding: 2rem 1.2rem; text-align: center; }
.quicklink .num { font-size: 0.75rem; color: var(--primary); font-weight: 700; letter-spacing: 0.1em; }
.quicklink .name { margin-top: 0.6rem; font-weight: 700; font-size: 1rem; }
@media (max-width: 860px) { .quicklinks { grid-template-columns: repeat(2, 1fr); } }

/* 그리드: grid-3 */
.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(--bg);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(42,40,37,.14); border-color: var(--primary); }
.portfolio-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.portfolio-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio-card:hover .thumb img { transform: scale(1.05); }
.portfolio-card .body { padding: 1.3rem; }
.portfolio-card .badge { font-size: 0.72rem; color: var(--primary); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.portfolio-card .title { margin-top: 0.5rem; font-weight: 700; font-size: 1.05rem; }
.portfolio-card .loc { margin-top: 0.3rem; font-size: 0.85rem; color: var(--muted); }

/* 중간 배너 */
.midbanner { background: var(--ink); color: #F5F2ED; padding: 4rem 0; text-align: center; }
.midbanner h3 { font-size: 1.5rem; letter-spacing: 0.03em; }
.midbanner p { margin-top: 0.8rem; color: rgba(245,242,237,0.7); }
.midbanner .btn-underline { color: #F5F2ED; border-color: #F5F2ED; margin-top: 1.5rem; }
.midbanner .btn-underline:hover { color: var(--primary); border-color: var(--primary); }

/* 서비스 카드 (E-1 캡션 갤러리 통합) */
.service-card { border: 1px solid var(--border); background: var(--bg); }
.service-card .thumb { aspect-ratio: 1/1; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-card .body { padding: 1.1rem 1.2rem 1.4rem; }
.service-card .caption { font-weight: 700; font-size: 0.98rem; }
.service-card .desc { margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); }

/* 프로세스 */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.process-step { background: var(--bg); padding: 2.2rem 1.5rem; }
.process-step .step-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.process-step h3 { margin-top: 0.8rem; font-size: 1.05rem; }
.process-step p { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 860px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; } }

/* 브랜드 스토리 회사소개 3단 */
.brand-story { background: var(--bg-alt); }
.story-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.story-3col .item .label { font-size: 0.78rem; letter-spacing: 0.15em; color: var(--primary); text-transform: uppercase; }
.story-3col .item h3 { margin-top: 0.8rem; font-size: 1.2rem; }
.story-3col .item p { margin-top: 0.8rem; color: var(--ink-soft); font-size: 0.92rem; }
.fact-line { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 2.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.fact-line b { color: var(--ink); }
@media (max-width: 768px) { .story-3col { grid-template-columns: 1fr; gap: 2rem; } }

/* 고객후기 */
.review-card { border: 1px solid var(--border); padding: 2rem; background: var(--bg); }
.review-card .stars { color: var(--primary); letter-spacing: 0.15em; font-size: 0.9rem; }
.review-card p { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-soft); }
.review-card .who { margin-top: 1.2rem; font-size: 0.82rem; color: var(--muted); }

/* 서비스 지역 */
.area-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.area-tags span { border: 1px solid var(--border); padding: 0.5rem 1.1rem; font-size: 0.85rem; color: var(--ink-soft); }

/* 무드 배너 */
.mood-banner { padding: 0; }
.mood-banner img { width: 100%; height: 60vh; object-fit: cover; }
@media (max-width: 640px) { .mood-banner img { height: 40vh; } }

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

/* 미니멀 CTA */
.cta-minimal { text-align: center; }
.cta-minimal .section-label { display: block; }
.cta-minimal blockquote { font-size: 1.7rem; font-weight: 700; letter-spacing: 0.02em; max-width: 700px; margin: 0 auto; }
.cta-minimal .btn-underline { margin-top: 2rem; font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(245,242,237,0.75); padding: 4rem 0 2rem; font-size: 0.85rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(245,242,237,0.14); }
.footer-brand .kr { color: #F5F2ED; font-size: 1.1rem; font-weight: 800; }
.footer-brand p { margin-top: 0.8rem; max-width: 320px; line-height: 1.7; }
.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-links h4 { color: #F5F2ED; font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a:hover { color: var(--primary); }
.footer-biz { margin-top: 2rem; line-height: 1.9; color: rgba(245,242,237,0.5); font-size: 0.78rem; }

/* Floating */
.floating-buttons { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.floating-buttons a { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #F5F2ED; box-shadow: 0 8px 24px rgba(42,40,37,.25); }
.floating-buttons a:hover { background: var(--primary); }
.floating-buttons svg { width: 22px; height: 22px; }

/* 상세 Hero */
.detail-hero { position: relative; height: 46vh; min-height: 340px; display: flex; align-items: flex-end; background-size: cover; background-position: center; margin-top: 76px; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: rgba(42,40,37,0.5); }
.detail-hero .container { position: relative; z-index: 2; padding-bottom: 3rem; color: #fff; }
.detail-hero .back-link { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; display: inline-block; }
.detail-hero h1 { font-size: 2.2rem; }
.detail-hero .loc { margin-top: 0.6rem; color: rgba(255,255,255,0.85); }

.info-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.info-bar .item { padding: 1.6rem; text-align: center; border-left: 1px solid var(--border); }
.info-bar .item:first-child { border-left: none; }
.info-bar .item .k { font-size: 0.78rem; color: var(--muted); }
.info-bar .item .v { margin-top: 0.4rem; font-weight: 700; }
@media (max-width: 640px) { .info-bar { grid-template-columns: repeat(2, 1fr); } .info-bar .item:nth-child(3) { border-left: none; } }

/* 블로그형 스토리 본문 */
.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: 2.5rem 0; }
.story-body figure img { width: 100%; border-radius: var(--card-radius); }
.story-body figcaption { margin-top: .6rem; font-size: .85rem; color: var(--muted); text-align: center; }
.story-body mark {
  background: rgba(var(--primary-rgb), 0.28);
  padding: 0.05em 0.2em;
  font-weight: 700;
}
.nseo-body h2 { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); line-height: 1.5; }
.nseo-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.story-quote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  margin: 2.5rem auto;
  max-width: 720px;
  font-size: 1.05rem;
  font-style: italic;
  background: rgba(var(--primary-rgb), 0.06);
}
.story-quote .signature { display: block; margin-top: .75rem; font-size: .85rem; font-style: normal; color: var(--muted); text-align: right; }
.result-box { max-width: 720px; margin: 0 auto 3rem; border: 1px solid var(--border); padding: 2rem; }
.result-box h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.result-box ul li { padding-left: 1.3rem; position: relative; margin-bottom: 0.7rem; font-size: 0.94rem; color: var(--ink-soft); }
.result-box ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--primary); }

/* NSEO / consultation 공용 */
.page-hero { padding: 160px 0 4rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 2.1rem; }
.page-hero p { margin-top: 1rem; color: var(--muted); max-width: 600px; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--primary); }

.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 768px) { .step-list { grid-template-columns: 1fr; } }
.step-card { border: 1px solid var(--border); padding: 1.8rem; }
.step-card .step-num { color: var(--primary); font-weight: 800; font-size: 1.4rem; }
.step-card h3 { margin-top: 0.6rem; font-size: 1.02rem; }
.step-card p { margin-top: 0.6rem; font-size: 0.88rem; color: var(--muted); }

.compare-table { width: 100%; border-collapse: collapse; margin: 0 auto 2.5rem; max-width: 720px; font-size: 0.92rem; }
.compare-table caption { text-align: left; font-weight: 700; font-size: 1.05rem; margin-bottom: 0.8rem; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 0.9rem 1.1rem; text-align: left; }
.compare-table th { background: var(--bg-alt); font-weight: 700; }
@media (max-width: 640px) { .compare-table { font-size: 0.85rem; } .compare-table th, .compare-table td { padding: 0.6rem 0.7rem; } }

.related-links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.related-links a { border: 1px solid var(--border); padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.related-links a:hover { border-color: var(--primary); color: var(--primary); }
