/* Dalpaengi Daepol — 대리석폴리싱 The달팽이
   Design DNA D 재해석: 타이포그래피 중심 풀블리드 히어로, 전/후 비교 행, 헤어라인 디바이더, 에디토리얼 여백
   컬러: deep #161616 PrettyBlack / accent #C17B5C Terracotta / bg #FFFFFF / bg-soft #FBF3EE / bar-chrome #EEE7E5
*/

:root {
  --deep: #161616;
  --accent: #C17B5C;
  --accent-soft: #F5E6DD;
  --bg: #FFFFFF;
  --bg-soft: #FBF3EE;
  --ink: #1A1A1A;
  --desc: #4B5563;
  --bar-chrome: #EEE7E5;
  --radius: 2px;
  --radius-img: 10px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  /* 메인(index) 전용 토큰 — accent 계열 파생값 (서브페이지 --accent 등에는 영향 없음) */
  --cream: #FBF3EE;
  --cream-soft: #F5E6DD;
  /* 로고·상담CTA·장식포인트 전부 --accent(#C17B5C) 단일 hex로 통일 (design_family.logo.rule).
     --accent-dark는 hover 상태 전용 딥 테라코타(비교색 아님, 동일 색상군 어둡게 조정). */
  --accent-dark: #9C5A3F;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; filter: contrast(1.1) saturate(1.15); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }

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

.mp-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--desc); text-transform: uppercase; margin-bottom: 12px;
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.mp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--deep); color: #fff;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  /* 버튼 모양 확정 (seed 768): 후보 [0px 직각사각형, 8px 라운드사각형, 999px 필] 중
     라운드사각형(8px)을 채택 — 카드류(--radius:2px)와 분리해 CTA만 살짝 부드러운 형태로 구분 */
  border-radius: 8px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.mp-btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.mp-btn-lg { padding: 16px 34px; font-size: 16px; }
.mp-btn-header {
  /* 상담문의 CTA — 로고 accent와 동일 hex 배경, 다크 텍스트로 대비 확보(WCAG AA) */
  background: var(--accent); color: var(--deep);
}
.mp-btn-header:hover { background: var(--deep); color: #fff; }
.mp-btn-sticky { flex: 1; background: var(--accent); color: var(--deep); }
.mp-btn-sticky:hover { background: var(--deep); color: #fff; }

/* ── 헤더 (2-state sticky, B-22) ──────────────────────────── */
.mp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.24);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.mp-header.is-scrolled {
  background: var(--deep);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 1px 16px rgba(0,0,0,.24);
}
.mp-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.mp-logo-group { display: flex; flex-direction: column; gap: 2px; }
.mp-logo { font-size: 20px; font-weight: 800; color: #fff; }
.mp-logo span { color: var(--accent); }
.mp-logo-tagline { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 500; }
.mp-header-right { display: flex; align-items: center; gap: 28px; }
.mp-nav { display: flex; gap: 24px; }
.mp-nav a { color: #fff; font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .3s; }
.mp-nav a:hover { opacity: 1; }
.mp-burger { display: none; }
.mp-burger span { background: #fff; }
.mp-nav-mobile { display: none; }

/* ── 히어로 (타이포그래피 중심 풀블리드 · DNA D) ───────────── */
.mp-hero {
  position: relative; overflow: hidden; color: #fff;
  margin-top: -76px; padding-top: 76px;
  min-height: 640px; display: flex; align-items: center;
}
.mp-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border-radius: 0;
  animation: mp-hero-fade 1s ease both;
}
.mp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(22,22,22,0) 0%, rgba(22,22,22,0) 30%,
    rgba(22,22,22,0) 60%, rgba(22,22,22,0) 100%);
}
.mp-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 96px 24px 88px;
}
.mp-hero-copy { max-width: 720px; }
.mp-hero-copy .mp-eyebrow { color: var(--accent); }
.mp-hero h1 { color: #fff; font-size: clamp(38px, 6vw, 66px); }
.mp-hero-desc { color: #ececec; font-size: 18px; }
@media (min-width: 901px) { .mp-hero .mp-hero-desc { white-space: nowrap; } }
.mp-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.mp-hero-badges span {
  font-size: 13px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08); border-radius: 999px; color: #fff;
}
@keyframes mp-hero-fade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

/* ── 전/후 비교 행 (DNA D) ────────────────────────────────── */
.mp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mp-compare figure { margin: 0; position: relative; }
.mp-compare img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.mp-compare figcaption {
  position: absolute; left: 16px; top: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 12px; background: var(--deep); color: #fff;
}

/* ── 서브히어로 (내부 페이지 공통 · 풀블리드) ──────────────── */
.mp-subhero {
  position: relative; overflow: hidden;
  margin-top: -76px; padding-top: 76px;
  min-height: 300px;
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-soft) 100%);
}
.mp-subhero:has(.mp-subhero-img) { min-height: 440px; }
.mp-subhero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
}
.mp-subhero:has(.mp-subhero-img)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,0) 100%);
}
.mp-subhero-content {
  position: relative; z-index: 1;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 24px 44px;
}
.mp-subhero-content h1 { color: var(--deep); }
.mp-subhero-content .mp-hero-desc { color: var(--desc); }
.mp-subhero:has(.mp-subhero-img) .mp-subhero-content h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.mp-subhero:has(.mp-subhero-img) .mp-subhero-content .mp-eyebrow { color: #fff; opacity: .92; }
.mp-subhero:has(.mp-subhero-img) .mp-subhero-content .mp-hero-desc { color: #f2f2f2; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.mp-subhero-consult .mp-subhero-content { max-width: 640px; margin: 0 auto; text-align: center; }
.mp-subhero.mp-subhero-case { min-height: 60vh; }
.mp-subhero-gallery-link {
  display: inline-block; margin-top: 16px; font-size: 14px; color: #fff;
  text-decoration: underline; text-underline-offset: 4px;
}
.mp-subhero-gallery-link:hover { color: var(--accent); }
@media (max-width: 560px) { .mp-subhero.mp-subhero-case { min-height: 50vh; } }

/* ── 섹션 공통 ─────────────────────────────────────────────── */
.mp-section { padding: 72px 24px; border-top: 1px solid #ececec; }
.mp-section-alt { background: var(--bg-soft); }
.mp-section-inner { max-width: 1200px; margin: 0 auto; }

/* ── 증상 리스트 ──────────────────────────────────────────── */
.mp-symptom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mp-symptom-item {
  padding: 24px; background: var(--bg-soft); border-radius: var(--radius);
  border-left: 3px solid var(--accent); font-size: 15px; color: var(--desc);
}
.mp-symptom-item strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 16px; }
.mp-symptom-item svg, .mp-checklist-item svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; display: block; }

/* ── 프로세스 세로 타임라인 ───────────────────────────────── */
.mp-steps { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.mp-steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #e4e0da; }
.mp-steps li:last-child { border-bottom: none; }
.mp-steps span { font-size: 22px; font-weight: 800; color: var(--accent); min-width: 44px; }
.mp-steps li div strong { display: block; margin-bottom: 4px; font-size: 16px; }

/* ── 갤러리 그리드 ────────────────────────────────────────── */
.mp-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.mp-gallery-grid-full { grid-template-columns: repeat(4, 1fr); }
.mp-related-card { display: block; overflow: hidden; border-radius: var(--radius-img); }
.mp-related-card img { aspect-ratio: 4/3; object-fit: cover; transition: transform .3s, filter .3s; }
.mp-related-card:hover img { transform: scale(1.04); filter: brightness(1.06); }
.mp-link-more { font-weight: 600; color: var(--deep); }

/* ── 관련 시공사례/지역 카드 (2장 한 줄, 시공사례상세 규칙) ──── */
.mp-related-row {
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px;
  width: 100%; max-width: 760px; margin: 0 auto;
}
.mp-related-row .mp-related-card img { aspect-ratio: auto; height: 180px; object-fit: cover; }
.mp-related-card-cap { display: block; padding: 10px 2px 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.mp-mt-cta-center { text-align: center; margin-top: 24px; }
.mp-btn-outline { background: transparent; color: var(--deep); border: 1.5px solid var(--deep); }
.mp-btn-outline:hover { background: var(--deep); color: #fff; }

/* ── CTA 밴드 ─────────────────────────────────────────────── */
.mp-cta-band {
  background: var(--deep); color: #fff; padding: 48px 24px;
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  text-align: center;
}
.mp-cta-band p { font-size: 20px; font-weight: 700; margin: 0; }
.mp-cta-band .mp-btn { background: var(--accent); color: var(--deep); }
.mp-cta-band .mp-btn:hover { background: var(--accent-dark); }

/* ── 지역 칩 그리드 ───────────────────────────────────────── */
.mp-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mp-region-chip {
  padding: 16px; text-align: center; background: var(--bg); border: 1px solid #e0e0e0;
  border-radius: var(--radius); font-weight: 600; font-size: 14px;
}
.mp-region-chip:hover { border-color: var(--deep); background: var(--bg-soft); }

/* ── FAQ ──────────────────────────────────────────────────── */
.mp-faq-list { max-width: 800px; }
.mp-faq-item { border-bottom: 1px solid #e4e0da; padding: 18px 0; }
.mp-faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary::after { content: '+'; float: right; font-size: 20px; color: var(--accent); }
.mp-faq-item[open] summary::after { content: '−'; }
.mp-faq-item p { margin-top: 12px; color: var(--desc); }

/* ── 크로스 레이아웃 (교차 이미지-텍스트, 고정 스펙) ───────── */
.mp-cross-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 56px;
}
.mp-cross-row img { border-radius: var(--radius-img); aspect-ratio: 4/3; object-fit: cover; }
.mp-cross-row-rev { direction: rtl; }
.mp-cross-row-rev > * { direction: ltr; }

/* ── 체크리스트 ───────────────────────────────────────────── */
.mp-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mp-checklist-item {
  padding: 20px; background: var(--bg); border: 1px solid #e4e0da; border-radius: var(--radius);
  font-size: 14px; color: var(--desc);
}
.mp-checklist-item strong { color: var(--ink); display: block; margin-bottom: 6px; }

/* ── 상담 카드 ────────────────────────────────────────────── */
.mp-consult-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.mp-info-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 24px; border: 1px solid #e4e0da; border-radius: var(--radius);
  background: var(--bg-soft);
}
.mp-info-card svg { width: 44px; height: 44px; color: var(--deep); margin-bottom: 16px; }
.mp-info-card .mp-btn { margin-top: 16px; }
.mp-consult-card:hover { border-color: var(--deep); }

/* ── 리스트/본문 ──────────────────────────────────────────── */
.mp-list { padding-left: 20px; max-width: 700px; color: var(--desc); }
.mp-list li { margin-bottom: 8px; }
.mp-body-text { max-width: 760px; color: var(--desc); font-size: 16px; }
.mp-table-wrap { overflow-x: auto; }
.mp-table { width: 100%; max-width: 800px; border-collapse: collapse; font-size: 15px; }
.mp-table th, .mp-table td { padding: 12px 16px; border: 1px solid var(--bar-chrome); text-align: left; }
.mp-table th { background: var(--bg-soft); color: var(--deep); font-weight: 600; }
.mp-table td { color: var(--desc); }

/* ── 시공·후기 상세 본문 (사진 1장 고정 · 라벨→제목→본문) ──────── */
.mp-case-story-inner { display: flex; flex-direction: column; gap: 28px; }
.mp-case-story-media img {
  width: 550px; height: 410px; object-fit: cover; flex-shrink: 0;
  border-radius: 18px; box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.mp-case-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: #B8B8B8; text-transform: uppercase; margin-bottom: 10px;
}
.mp-case-title { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; color: var(--ink); margin: 0 0 18px; }
.mp-case-body p { font-size: 16px; line-height: 1.85; color: var(--desc); margin: 0 0 14px; }
.mp-case-body strong { font-weight: 700; color: var(--ink); }

/* ── 사이트맵 ─────────────────────────────────────────────── */
.mp-sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.mp-sitemap-col-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-img); margin-bottom: 14px; }
.mp-sitemap-col-desc { color: var(--desc); font-size: 14px; margin: -4px 0 12px; }
.mp-sitemap-col a { display: block; padding: 6px 0; color: var(--desc); }
.mp-sitemap-col a:hover { color: var(--deep); text-decoration: underline; }

/* ── Closing 사진 (B-25) ──────────────────────────────────── */
.mp-closing { position: relative; }
.mp-closing img { width: 100%; height: 650px; object-fit: cover; display: block; }
.mp-closing-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,.35) 0%, rgba(10,10,10,.5) 55%, rgba(10,10,10,.65) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 24px; padding: 40px;
}
.mp-closing-copy {
  color: #fff; font-size: 28px; font-weight: 700; line-height: 1.4; margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.mp-btn-closing { background: transparent; border: 1.5px solid #fff; color: #fff; }
.mp-btn-closing:hover { background: #fff; color: var(--deep); }
.mp-closing-quote { color: #f2f2f2; font-size: 14px; font-style: italic; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
@media (max-width: 560px) {
  .mp-closing-copy { font-size: 20px; }
}

/* ── 푸터 (uapti DNA · 다크 4열) ──────────────────────────── */
.mp-footer { background: var(--deep); color: #9a9a9a; padding: 56px 24px 24px; }
.mp-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 32px;
}
.mp-footer-logo { font-size: 20px; font-weight: 800; color: #fff; }
.mp-footer-logo span { color: var(--accent); }
.mp-footer-desc { font-size: 14px; margin-top: 8px; }
@media (min-width: 901px) { .mp-footer-desc { white-space: nowrap; } }
.mp-footer-col h3 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.mp-footer-col a { display: block; font-size: 13px; padding: 4px 0; color: #9a9a9a; }
.mp-footer-col a:hover { color: #fff; }
.mp-footer-biz p { font-size: 13px; color: #9a9a9a; margin-bottom: 16px; line-height: 1.6; }
.mp-footer-addr { display: block; white-space: nowrap; font-size: 12px; }
@media (max-width: 560px) { .mp-footer-addr { white-space: normal; } }
.mp-footer-biz .mp-btn { padding: 10px 20px; font-size: 13px; }
.mp-footer-bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #333;
  font-size: 12px; color: #808080;
}

/* ── 하단 고정 CTA 바 (B-23, 모바일 전용 2칸: 상담하기 + 전화상담) ── */
.mp-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  min-height: 48px; display: none; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--bar-chrome);
  border-top: 1px solid #E5E7EB; box-shadow: 0 -6px 22px rgba(0,0,0,.08);
  transform: translateY(100%); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.mp-sticky-cta.is-visible { transform: translateY(0); opacity: 1; }
.mp-btn-sticky-tel { background: var(--deep); color: #fff; }
.mp-btn-sticky-tel:hover { background: var(--accent); color: var(--deep); }
@media (min-width: 901px) { .mp-sticky-cta { display: none !important; } }

/* ── 애니메이션 훅 ────────────────────────────────────────── */
[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
[data-anim].is-in { opacity: 1; transform: none; }
[data-anim="slide-left"] { transform: translateX(-24px); }
[data-anim="slide-left"].is-in { transform: none; }
[data-anim="scale-in"] { transform: scale(.94); }
[data-anim="scale-in"].is-in { transform: none; }
[data-anim][data-delay="1"] { transition-delay: .05s; }
[data-anim][data-delay="2"] { transition-delay: .1s; }
[data-anim][data-delay="3"] { transition-delay: .15s; }
[data-anim][data-delay="4"] { transition-delay: .2s; }
[data-anim][data-delay="5"] { transition-delay: .25s; }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .mp-hero { min-height: 520px; }
  .mp-symptom-list, .mp-checklist, .mp-region-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .mp-cross-row, .mp-cross-row-rev { grid-template-columns: 1fr; direction: ltr; }
  .mp-footer-inner, .mp-sitemap-grid { grid-template-columns: 1fr 1fr; }
  .mp-consult-cards { grid-template-columns: 1fr; }
  .mp-nav { display: none; }
  .mp-btn-header { display: none; }
  .mp-burger {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; margin-left: auto; padding: 8px;
  }
  .mp-burger span { width: 22px; height: 2px; }
  .mp-nav-mobile {
    display: none; flex-direction: column; background: var(--bg); padding: 16px 24px;
    border-top: 1px solid #eee;
  }
  .mp-nav-mobile.is-open { display: flex; }
  .mp-nav-mobile a { padding: 10px 0; border-bottom: 1px solid #eee; color: var(--ink); }
}
@media (max-width: 560px) {
  .mp-symptom-list, .mp-checklist, .mp-region-grid, .mp-gallery-grid, .mp-gallery-grid-full, .mp-sitemap-grid, .mp-footer-inner, .mp-compare {
    grid-template-columns: 1fr;
  }
}

/* ── 홈(메인) 전용 컴포넌트 — uapti DNA 재구성, 서브페이지 클래스와 분리 ── */
body.home { background: var(--cream); }

.mp-home-hero {
  position: relative; overflow: hidden; color: #fff;
  margin-top: -76px; padding-top: 76px;
  height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
}
.mp-home-hero-slides { position: absolute; inset: 0; }
.mp-home-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; z-index: 0;
  transition: opacity 1.6s ease;
  animation: mp-slow-zoom 16s ease-in-out infinite alternate;
}
.mp-home-hero-bg.is-active { opacity: 1; z-index: 1; }
.mp-home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,19,19,0) 0%, rgba(19,19,19,0) 45%, rgba(19,19,19,0) 100%);
}
.mp-home-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 0 24px 88px;
}
.mp-home-hero-inner h1 {
  font-size: 25px; font-weight: 800; line-height: 1;
  color: #fff; margin: 0 0 18px;
}
.mp-home-hero-brand { font-size: 50px; font-weight: 600; letter-spacing: .04em; margin: 0 0 18px; color: #fff; }
.mp-home-hero-brand span { color: var(--accent); }
.mp-home-hero-desc { font-size: 17px; color: #ececec; white-space: nowrap; margin: 0 0 28px; }
@keyframes mp-slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.mp-quicklinks { padding: 72px 24px; background: var(--cream); }
.mp-quicklinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mp-quicklink-card { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; background: var(--deep); }
.mp-quicklink-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.mp-quicklink-card:hover img { transform: scale(1.05); filter: brightness(1.08); }
.mp-quicklink-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,0) 40%, rgba(19,19,19,.7) 100%); }
.mp-quicklink-card span { position: relative; z-index: 1; padding: 18px; color: #fff; font-weight: 700; font-size: 15px; }
.mp-quicklink-cta { background: var(--accent); align-items: center; justify-content: center; }
.mp-quicklink-cta span { padding: 0; color: var(--deep); }
.mp-quicklink-cta:hover { background: var(--accent-dark); }
.mp-quicklink-cta:hover span { color: var(--deep); }
.mp-quicklink-cta:hover img { transform: none; }

/* ── 브랜드소개 Type E: 상단 중앙텍스트 → 비대칭 스태거드 콜라주 → 하단 3열 팩트 스트립 ──
   (형제 4사이트 전부 좌우분할형 사용 — 이 사이트만 센터 스택형, structure.json design_family 확정값) */
.mp-about { padding: 88px 24px; background: var(--bg); }
.mp-about-inner { max-width: 1200px; margin: 0 auto; }
.mp-about-text { max-width: 860px; margin: 0 auto 52px; text-align: center; }
.mp-about-text .mp-eyebrow { justify-content: center; }
.mp-about-text p:not(.mp-eyebrow) { color: var(--desc); }
@media (min-width: 901px) { .mp-about-text p:not(.mp-eyebrow) { white-space: nowrap; } }
.mp-about-collage {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 52px;
}
.mp-about-collage img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.mp-about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid #e4e0da; padding-top: 28px; }
.mp-about-fact { text-align: center; }
.mp-about-fact h3 { font-size: 14px; color: var(--accent); margin-bottom: 8px; }
.mp-about-fact p { font-size: 13px; color: var(--desc); margin: 0; }

.mp-process-v2 { padding: 88px 24px; background: var(--cream-soft); }
.mp-process-v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.mp-process-v2-step span { display: block; font-size: 36px; font-weight: 800; color: var(--accent); margin-bottom: 12px; }
.mp-process-v2-step h3 { margin-bottom: 8px; }
.mp-process-v2-step p { color: var(--desc); font-size: 14px; margin: 0; }

.mp-portfolio-v2 { padding: 88px 24px; background: var(--bg); }
.mp-portfolio-v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.mp-portfolio-v2-card { display: block; border: 1px solid #e4e0da; border-radius: 4px; overflow: hidden; }
.mp-portfolio-v2-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .3s; }
.mp-portfolio-v2-card:hover img { transform: scale(1.04); }
.mp-portfolio-v2-body { padding: 18px 20px; }
.mp-portfolio-v2-meta { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .04em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #d8d6d0; }
.mp-portfolio-v2-body h3 { font-size: 17px; margin-bottom: 6px; }
.mp-portfolio-v2-body p { font-size: 13px; color: var(--desc); margin-bottom: 10px; }
.mp-portfolio-v2-body .mp-link-more { font-size: 12px; color: var(--accent); }
.mp-portfolio-v2-all { display: block; text-align: center; }

@media (max-width: 900px) {
  .mp-quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .mp-about-collage { grid-template-columns: 1fr; }
  .mp-process-v2-grid { grid-template-columns: 1fr; gap: 24px; }
  .mp-portfolio-v2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mp-home-hero-inner { padding-bottom: 56px; }
  .mp-quicklinks-grid, .mp-about-facts, .mp-portfolio-v2-grid { grid-template-columns: 1fr; }
  .mp-home-hero-desc { white-space: normal; }
}

/* ── Guide 푸터 링크 / 가이드 관련 사례 3열 / 모바일 메뉴 4칸 ── */
.mp-footer-col h3 a { display: inline; padding: 0; font-size: inherit; color: #fff; }
.mp-related-row.mp-related-row-3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; }
@media (max-width: 767px) {
  .mp-related-row.mp-related-row-3 { grid-template-columns: 1fr; }
  h1, h2, h3, .mp-btn, .mp-nav-mobile a, .mp-portfolio-v2-body, .mp-related-card-cap { word-break: keep-all; }
  .mp-nav-mobile.is-open { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 8px; }
  .mp-nav-mobile a { font-size: 13px; text-align: center; padding: 10px 2px; white-space: nowrap; }
  .mp-nav-mobile a.mp-btn { grid-column: 1 / -1; margin-top: 8px; }
}

/* ── IA v2: 작업완료예 상단 · 서비스 3+더보기 · 줄바꿈 ───────────── */
body, p, li, h1, h2, h3, h4, a, button, summary, td, th, .mp-portfolio-v2-card, .mp-footer, .mp-nav {
  word-break: keep-all; overflow-wrap: break-word; line-break: strict;
}
.mp-example { padding: 76px 24px 0; background: var(--deep); }
.mp-example-inner { max-width: 1200px; margin: 0 auto; padding: 20px 0 28px; }
.mp-example-label { margin: 0 0 10px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.mp-example img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; border-radius: 10px; display: block; }
.mp-subhero.mp-subhero-plain { margin-top: 0; padding-top: 48px; min-height: 0; }
.mp-more { margin-top: 24px; }
.mp-more summary { display: block; width: fit-content; margin: 0 auto; cursor: pointer; list-style: none; text-align: center; }
.mp-more summary::-webkit-details-marker { display: none; }
.mp-more[open] summary { margin-bottom: 24px; }
.mp-related-two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.mp-h2-gap { margin-top: 56px; }
.mp-faq-qa { max-width: 800px; }
.mp-faq-q { border-bottom: 1px solid #e4e0da; padding: 18px 0; }
.mp-faq-q h3 { font-size: 17px; margin: 0 0 8px; }
.mp-faq-q p { margin: 0; color: var(--desc); }
.mp-table th[scope="row"] { width: 28%; }
@media (max-width: 900px) {
  .mp-nav-mobile.is-open { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 8px; padding: 10px 12px; }
  .mp-nav-mobile a { font-size: 13px; text-align: center; padding: 10px 2px; white-space: nowrap; border-bottom: 0; }
  .mp-nav-mobile a.mp-btn { grid-column: auto; margin-top: 0; padding: 10px 2px; }
}
@media (max-width: 560px) {
  .mp-related-two { grid-template-columns: 1fr; }
  .mp-example { padding-top: 68px; }
}
