:root {
  --accent: #3A5348;
  --accent-soft: #E4EDE8;
  --hero-tint: #F2F5F2;
  --text: #141A17;
  --muted: #55635C;
  --line: #DEE5E1;
  --mid1: #D8E3DD; --mid2: #E4EDE8; --mid3: #F2F5F2; --mid4: #F6F9F6;
  --mid5: #E8F0EB; --mid6: #DEE8E3; --mid7: #FBFCFB; --mid8: #EEF3F0;
}
* { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, li, button, input { margin: 0; padding: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif; }
body { color: var(--text); letter-spacing: -0.3px; line-height: 1.6; background: #fff; padding-bottom: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── 헤더 (standard) ── */
.site-header { position: relative; z-index: 200; background: #fff; height: 76px; border-bottom: 1px solid var(--line); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 34px; height: 34px; flex-shrink: 0; color: var(--accent); display: block; }
.logo-icon svg { display: block; width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-brand { font-size: 13px; font-weight: 600; color: var(--muted); }
.logo-keyword { font-size: 19px; font-weight: 700; color: var(--text); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 17px; letter-spacing: -0.3px; }
.nav > a { white-space: nowrap; }
.nav-cta { padding: 11px 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; }
.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute; top: 100%; left: 0; margin-top: 12px; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px;
  display: flex; flex-direction: column; box-shadow: 0 16px 32px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .15s ease;
  z-index: 201; pointer-events: none;
}
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.nav-drop-panel a { padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.nav-drop-panel a:hover { background: var(--accent-soft); }

/* ── 히어로: 순인형 스플릿 (matt 카드 금지, 풀폭 금지) ── */
.hero { padding: 48px 20px 0; background: #fff; }
.hero__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .4px;
  margin: 0 0 18px;
}
.hero h1 { font-size: 44px; font-weight: 700; color: var(--text); letter-spacing: -.3px; line-height: 1.32; margin: 0 0 14px; }
.hero-sub { font-size: 16px; line-height: 28px; color: var(--muted); max-width: 440px; margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; margin: 0 0 24px; }
.btn-fill { height: 48px; padding: 14px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: -.3px; display: inline-flex; align-items: center; }
.btn-line { height: 48px; padding: 14px 26px; border-radius: 999px; background: transparent; color: var(--text); border: 1px solid var(--text); font-size: 15px; font-weight: 600; letter-spacing: -.3px; display: inline-flex; align-items: center; }
.hero-checks { display: flex; gap: 20px; padding: 18px 0 0; margin: 0; font-size: 14px; color: var(--muted); list-style: disc inside; }
.hero-media {
  background: var(--mid3); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 44px rgba(0,0,0,.10);
  aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 공용 섹션 ── */
section.block { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: 1px; color: var(--accent); margin-bottom: 14px; }
.eyebrow svg { width: 18px; height: 18px; flex-shrink: 0; }
.sec-title { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.sec-lead { font-size: 16px; max-width: 640px; color: var(--muted); line-height: 1.7; }

#about { background: var(--mid4); }
#service { background: #fff; }
#cases { background: var(--mid8); }
#process { background: #fff; }
#region-home { background: var(--mid4); }
#faq { background: #fff; }

/* about-hotel (section_variant=8): 헤더+칩탭 + 좌텍스트/우겹침이미지2장 */
.about-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.chip-tabs { display: flex; gap: 10px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); background: #fff; }
.chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p { font-size: 16px; line-height: 1.85; color: var(--text); margin-bottom: 18px; }
.about-media { position: relative; height: 420px; }
.about-media img { position: absolute; border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.12); object-fit: cover; }
.about-media .img-back { width: 78%; height: 78%; top: 0; left: 0; }
.about-media .img-front { width: 62%; height: 62%; bottom: 0; right: 0; border: 6px solid #fff; }

/* service 4열 */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.service-card { padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.svc-icon { display: block; width: 44px; height: 44px; flex-shrink: 0; overflow: hidden; color: var(--accent); margin-bottom: 18px; }
.svc-icon svg { display: block; width: 100%; height: 100%; max-width: 44px; max-height: 44px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* cases: 순인 디자인1번 — 4장 2x2 원그로브 호버 */
.case-grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; max-width: 1240px; }
.case-card-hover { position: relative; width: 100%; aspect-ratio: 590/396; border-radius: 16px; overflow: hidden; background: #fff; }
.case-card-hover img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
.case-card-hover .case-reveal {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  background: #fff; opacity: 0; transition: opacity .3s ease; padding: 32px;
}
.case-card-hover .case-reveal p { color: #333; font-size: 15px; line-height: 1.8; }
.case-card-hover .case-reveal .case-reveal-title { font-weight: 700; font-size: 17px; margin-bottom: 10px; color: var(--text); }
.case-card-hover:hover img { opacity: 0; }
.case-card-hover:hover .case-reveal { opacity: 1; }
.case-more { text-align: center; margin-top: 40px; }

/* PROCESS 4열 */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.process-item { padding: 28px 20px 28px 24px; border-right: 1px solid var(--line); }
.process-item:first-child { padding-left: 0; }
.process-item:last-child { border-right: none; }
.pnum { color: var(--accent); font-weight: 700; font-size: 13px; display: block; margin-bottom: 10px; }
.process-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* 지역 홈 */
.region-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.region-chip-grid a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.region-chip-grid a:hover { border-color: var(--accent); color: var(--accent); }

/* 비용 table */
table.cost-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
table.cost-table th, table.cost-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
table.cost-table th { background: var(--mid2); font-weight: 700; }

/* FAQ */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; background: #fff; }
.faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* Closing */
.closing { position: relative; height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-overlay { position: absolute; inset: 0; background: rgba(19,19,19,.55); }
.closing-copy { position: relative; z-index: 1; text-align: center; color: #fff; max-width: 640px; padding: 0 24px; }
.closing-head { font-size: 32px; font-weight: 700; white-space: nowrap; margin-bottom: 18px; }
.closing-quote { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: 28px; }
.closing-cta { display: inline-block; padding: 14px 30px; border: 1px solid #fff; border-radius: 0; color: #fff; font-size: 15px; font-weight: 600; }

/* 서브 페이지 상단 tint 패널 (사진 없을 때) */
.hero-panel { max-width: 1180px; margin: 40px auto; padding: 48px 56px; background: var(--hero-tint); border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-panel-media { border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; }
.hero-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel h1 { font-size: 34px; font-weight: 700; margin: 10px 0 14px; }
.hero-panel p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* 목록 page-hero (풀폭) */
.page-hero { position: relative; z-index: 0; min-height: 38vh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(19,19,19,.5); pointer-events: none; z-index: 0; }
.page-hero .copy { position: relative; z-index: 1; color: #fff; pointer-events: none; }
.page-hero .copy .eyebrow { color: #fff; }
.page-hero h1 { color: #fff; font-size: 36px; font-weight: 800; margin: 0; }

.list-intro { text-align: center; max-width: 640px; margin: 40px auto 0; color: var(--muted); font-size: 16px; }

/* editorial-meta-card (list_variant=2) */
.case-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 80px; }
.case-list-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s ease; }
.case-list-card:hover { transform: translateY(-4px); }
.case-list-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.case-list-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-list-card .meta { padding: 18px 20px; }
.case-list-card .meta .tag { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: .5px; margin-bottom: 6px; display: block; }
.case-list-card .meta h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.case-list-card .meta p { font-size: 14px; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 상세 body */
.case-body { max-width: 640px; margin: 48px auto 0; text-align: center; }
.case-body .rep-photo { border-radius: 18px; overflow: hidden; background: var(--mid3); }
.case-body .rep-photo img { width: 100%; height: auto; object-fit: contain; display: block; }
.case-body .photo-label { font-size: 13px; color: #888; margin: 14px 0 20px; }
.case-body h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.case-body .case-text { text-align: left; font-size: 16px; line-height: 1.85; color: var(--text); }

.back-link { text-align: center; margin: 40px 0 0; }
.back-link a { font-size: 15px; color: var(--muted); }
.back-link a:hover { color: var(--accent); }

.partner-box { max-width: 640px; margin: 40px auto 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: 14px; text-align: center; font-size: 14px; color: var(--muted); }

/* 지역 상세 */
.region-body { max-width: 800px; margin: 0 auto; }
.region-body .region-photo { border-radius: 18px; overflow: hidden; margin-bottom: 32px; }
.region-body .region-photo img { width: 100%; height: auto; object-fit: cover; }
.region-body p.lead-text { font-size: 16px; line-height: 1.85; margin-bottom: 20px; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.nearby-links a { padding: 8px 14px; border-radius: 999px; background: var(--mid2); font-size: 13px; }

/* 지역안내 목록 */
.region-index-group { margin-bottom: 48px; }
.region-index-group h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }

/* 모바일 하단바 */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding: 28px 24px 40px; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-icon { width: 36px; height: 36px; }
  .svc-icon svg { max-width: 36px; max-height: 36px; }
  .case-grid-2x2, .case-list-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { height: 300px; }
  .closing-head { font-size: 24px; white-space: normal; }
  section.block { padding: 64px 0; }
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 60px; z-index: 300; background: #fff; border-top: 1px solid var(--line); }
  .mobile-bar-btn { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--text); }
  .mobile-bar-btn.primary { background: var(--accent); color: #fff; }
  body { padding-bottom: 72px; }
  .hero-panel { grid-template-columns: 1fr; padding: 28px 24px; border-radius: 20px; }
}
@media (min-width: 768px) {
  .mobile-bar { display: none !important; }
}
