/* ==========================================================================
   구축아파트인테리어 (oldapt.suninteriorkor.com)
   design_id=1(34aptr형 4장 카드) · font_id=2(제목 Noto Serif KR / 본문 Pretendard)
   draw_id=없음 · hero_id=2(스플릿패널) · palette_id=9(스틸블루)
   ========================================================================== */

:root {
  --font-title: "Noto Serif KR", serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --accent: #3A5368;
  --accent-soft: #E4ECF1;
  --accent-text: #FFFFFF;
  --hero-tint: #F2F5F8;
  --text: #14181C;
  --muted: #58656F;
  --ink: var(--text);
  --desc: var(--muted);
  --bar-chrome: #EBEFF2;
  --line: #DEE4E8;
  --radius-btn: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #FFFFFF;
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, .hero-title, .section-title, .closing-head { font-family: var(--font-title); font-weight: 600; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mo-only { display: none; }

/* ---------- Header (항상 흰 배경 + var(--text) 글자) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #FFFFFF;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled {
  background: var(--bar-chrome);
  box-shadow: 0 1px 16px rgba(0,0,0,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); }
.logo-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--accent); }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-brand { font-family: var(--font-title); font-size: 0.98rem; font-weight: 700; }
.logo-keyword { font-size: 0.68rem; font-weight: 400; color: var(--accent); letter-spacing: 0; }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { font-size: 15px; color: var(--text); }
.nav-menu a.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 20px;
  border-radius: var(--radius-btn); font-weight: 600;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); }

/* ---------- Hero (hero_id=2 스플릿패널) ---------- */
.hero { padding: 40px 0 80px; background: #FFFFFF; }
.hero .wrap { max-width: 1280px; }
.hero__inner {
  background: var(--hero-tint); border-radius: 26px; padding: 52px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
}
.hero__eyebrow { display: inline-flex; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.28; color: var(--text); margin: 0 0 20px; }
.hero__desc { font-size: 16px; color: var(--muted); margin: 0 0 28px; line-height: 1.7; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__checks { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.hero__img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 44px rgba(0,0,0,.14); aspect-ratio: 4/3; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: var(--radius-btn); font-size: 15px; font-weight: 600; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
@media (max-width: 767px) {
  .hero__inner { grid-template-columns: 1fr; padding: 28px 24px; border-radius: 20px; }
}

/* 페이지 상단(히어로 없는 서브) — page-hero */
.page-hero {
  position: relative; height: 40vh; min-height: 320px; color: #fff; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,28,.55) 0%, rgba(15,20,28,.35) 45%, rgba(15,20,28,.68) 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.28; margin: 0 0 22px; max-width: 720px; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(15,20,28,.5) 0%, rgba(15,20,28,.62) 100%); }
.page-hero .hero-content { justify-content: flex-end; padding-bottom: 44px; }
.page-hero .hero-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.page-hero .crumb { font-size: 13px; color: var(--accent-soft); margin-bottom: 14px; letter-spacing: .04em; }

/* start형 연한 배경(사진 없을 때) */
.page-hero.no-photo {
  color: var(--text); background: linear-gradient(135deg, var(--hero-tint) 0%, var(--accent-soft) 100%);
  min-height: 260px;
}
.page-hero.no-photo .hero-overlay { display: none; }
.page-hero.no-photo .crumb { color: var(--accent); }

/* ---------- Section 공통 ---------- */
.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent); margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; margin: 0 0 16px; white-space: normal; }
.section-desc { font-size: 16px; color: var(--desc); line-height: 1.75; margin: 0; }
.section-desc.one-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 소개(about-list) ---------- */
.about-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.about-list li { padding-left: 22px; position: relative; font-size: 15px; color: var(--desc); }
.about-list li::before { content: "#"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- 시공사례 #cases — design 1번: 4장 2x2 590x396 hover ---------- */
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1240px; margin: 0 auto;
}
.case-card {
  position: relative; aspect-ratio: 590 / 396; border-radius: 12px; overflow: hidden;
  cursor: pointer;
}
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover img { transform: scale(1.06); }
.case-card .cc-tag {
  position: absolute; left: 20px; bottom: 20px; z-index: 2; color: #fff;
  font-size: 13px; background: rgba(0,0,0,.45); padding: 6px 14px; border-radius: 4px;
  transition: opacity .35s ease;
}
.case-card .cc-face {
  position: absolute; inset: 0; background: #fff; padding: 32px;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease;
}
.case-card:hover .cc-face { opacity: 1; transform: translateY(0); }
.case-card:hover .cc-tag { opacity: 0; }
.cc-face .cc-num { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.cc-face h3 { font-size: 19px; margin: 0 0 10px; }
.cc-face p { font-size: 13.5px; color: var(--desc); line-height: 1.7; margin: 0; }
.cases-more { text-align: center; margin-top: 44px; }

/* ---------- 서비스 카드 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 24px; }
.svc-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 20px; }
.svc-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 17px; margin: 0 0 10px; }
.service-card p { font-size: 13.5px; color: var(--desc); line-height: 1.7; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 4px;
  display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600;
}
.faq-q::after { content: "+"; font-size: 20px; color: var(--accent); transition: transform .25s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 4px 22px; margin: 0; font-size: 14.5px; color: var(--desc); line-height: 1.75; }

/* ---------- Closing (B-25) ---------- */
.closing { position: relative; height: 650px; background-size: cover; background-position: center; color: #fff; }
.closing-overlay { position: absolute; inset: 0; background: rgba(19,19,19,.55); }
.closing-inner {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 24px;
}
.closing-head { font-size: clamp(24px, 3.4vw, 36px); margin: 0 0 20px; line-height: 1.4; }
.closing-quote { font-size: 15px; color: #E9E9E9; margin: 0 0 34px; max-width: 560px; line-height: 1.75; }
.closing-btn {
  display: inline-block; padding: 14px 40px; border: 1px solid #fff; color: #fff;
  border-radius: 0; font-size: 15px; letter-spacing: .04em;
}

/* ---------- Footer ---------- */
.site-footer { background: #FFFFFF; color: var(--text); padding: 56px 0 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand { font-family: var(--font-title); font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.footer-biz p { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-btn { padding: 10px 22px; border-radius: var(--radius-btn); background: var(--accent); color: #fff; font-size: 14px; }
.footer-btn-outline { background: transparent; border: 1px solid var(--line); color: var(--text); }
.footer-copyright { padding: 22px 0; font-size: 12.5px; color: var(--muted); }
.footer-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.footer-guide-title { font-weight: 700; color: var(--text); margin-right: 4px; }
.footer-guide a { color: var(--muted); }

/* ---------- Guide 허브(/guide) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.guide-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.guide-card .gc-body { padding: 22px; }
.guide-card .gc-label { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.guide-card h3 { font-size: 17px; margin: 0 0 8px; }
.guide-card p { font-size: 13.5px; color: var(--desc); line-height: 1.7; margin: 0 0 14px; }
.guide-card .gc-more { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.guide-grid .guide-card.gc-extra { display: none; }
.guide-grid.gc-open .guide-card.gc-extra { display: block; }
.guide-more-wrap { text-align: center; margin-top: 40px; }

/* ---------- 키워드 세부페이지(dong-chips / process-list) ---------- */
.dong-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.dong-chips span { padding: 7px 16px; border: 1px solid var(--line); border-radius: 20px; font-size: 13px; color: var(--muted); }
.process-table { width: 100%; border-collapse: collapse; margin: 28px 0 0; font-size: 14.5px; }
.process-table th, .process-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--desc); }
.process-table th { color: var(--text); font-weight: 700; background: var(--accent-soft); }
.process-table td:first-child { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* ---------- 하단 상담바 (B-23, 데스크톱) ---------- */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--bar-chrome); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 22px rgba(0,0,0,.08);
  transform: translateY(100%); opacity: 0; transition: transform .3s ease, opacity .3s ease;
  padding: 16px 24px; text-align: center;
}
.bottom-bar.show { transform: translateY(0); opacity: 1; }
.bottom-bar-cta { display: inline-block; padding: 12px 32px; background: var(--accent); color: #fff; border-radius: var(--radius-btn); font-size: 15px; font-weight: 600; }

/* 모바일 하단바는 기본 숨김(PC) */
.mo-bottom-bar { display: none; }

/* ---------- 라이트박스 ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 32px; background: none; border: none; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 40px; background: none; border: none; padding: 12px; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
[data-lightbox] { cursor: zoom-in; }

/* ---------- 시공사례 목록(/portfolio) — 영림형 비대칭 모자이크 ---------- */
.pf-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 56px; }
.pf-intro .im { border-radius: 0; overflow: hidden; min-width: 0; }
.pf-intro .im img { width: 100%; aspect-ratio: 7/6; object-fit: cover; }
.pf-intro h2 { margin: 0 0 18px; font-size: clamp(24px,3vw,32px); }
.pf-intro p { font-size: 15px; color: var(--desc); line-height: 1.8; margin: 0 0 14px; }

.pf-list { display: flex; flex-wrap: wrap; gap: 22px 2%; padding: 0 0 90px; }
.pf-item { position: relative; overflow: hidden; min-width: 0; }
.pf-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pf-item .pf-cap { padding: 14px 2px; }
.pf-item .pf-cap .pf-region { font-size: 12px; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.pf-item .pf-cap h3 { font-size: 16px; margin: 0; font-weight: 600; }
.pf-item:nth-child(6n+1), .pf-item:nth-child(6n+4) { width: 30%; }
.pf-item:nth-child(6n+1) img, .pf-item:nth-child(6n+4) img { aspect-ratio: 5/6; }
.pf-item:nth-child(6n+2), .pf-item:nth-child(6n+5) { width: 66%; }
.pf-item:nth-child(6n+2) img, .pf-item:nth-child(6n+5) img { aspect-ratio: 189/100; }
.pf-item:nth-child(6n+3), .pf-item:nth-child(6n) { width: 47%; }
.pf-item:nth-child(6n+3) img, .pf-item:nth-child(6n) img { aspect-ratio: 7/6; }

.pf-page-nav { display: flex; justify-content: center; gap: 10px; padding-bottom: 90px; }
.pf-page-nav a { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--desc); }
.pf-page-nav a.current { background: var(--ink); color: #fff; }

/* ---------- 시공사례 상세 / 지역 본문 — 550x410 + 글 ---------- */
.case-body { padding: 72px 0 20px; }
.case-media { width: 550px; max-width: 100%; margin: 0 auto 40px; }
.case-media img { width: 550px; max-width: 100%; height: 410px; object-fit: cover; border-radius: 18px; }
.case-label { font-size: 11px; color: #9AA0A6; text-align: center; margin-bottom: 10px; letter-spacing: .04em; }
.case-article { max-width: 760px; margin: 0 auto; }
.case-article h1 { font-size: clamp(24px,3vw,32px); text-align: center; margin: 0 0 36px; }
.case-article p { font-size: 15.5px; color: #374151; line-height: 1.9; margin: 0 0 20px; }
.case-article p strong { color: var(--ink); }
.case-article h2 { font-size: 20px; margin: 48px 0 16px; }

/* 전중후 한 줄 */
.stage-row { display: grid !important; gap: 16px; max-width: 760px; margin: 40px auto; }
.stage-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stage-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.stage-row figure { margin: 0; }
.stage-row img { width: 100%; height: auto; max-height: 500px; object-fit: contain; background: #F3F3F1; border-radius: 10px; }
.stage-row figcaption { text-align: center; font-size: 13px; color: var(--desc); margin-top: 8px; }

/* 폴더 남은 실사 갤러리 */
.leftover-gallery { max-width: 900px; margin: 44px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.leftover-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

/* PROCESS */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid #E0E0DC; max-width: 900px; margin: 0 auto; }
.process-item { padding: 28px 20px 28px 24px; border-right: 1px solid #E0E0DC; }
.process-item:first-child { padding-left: 0; }
.process-item:last-child { border-right: none; }
.pnum { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.process-item h3 { font-size: 16px; font-weight: 800; color: #22262B; margin: 0 0 8px; }
.process-item p { font-size: 13.5px; color: #5B6169; line-height: 1.65; margin: 0; }

/* 관련 시공사례 2장 */
.related-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 700px; margin: 44px auto; }
.related-row a { display: block; }
.related-row img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.related-row .rr-cap { padding: 10px 2px; font-size: 14px; }

/* ---------- 지역 페이지 칩(h2) ---------- */
.region-body .section-title.chip { display: inline-block; }

/* ---------- 회사소개 / 상담 페이지 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: 16px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.info-table th, .info-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info-table th { width: 140px; color: #6B7280; font-weight: 500; }

.contact-hero { text-align: center; padding: 130px 0 40px; }
.contact-tel { display: block; font-size: clamp(30px,5vw,44px); font-family: var(--font-title); font-weight: 700; color: var(--accent); margin: 18px 0; }
.contact-actions { display: flex; justify-content: center; gap: 14px; margin-top: 20px; }

/* ---------- 사이트맵 페이지 ---------- */
.sitemap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-cols h3 { font-size: 15px; color: var(--accent); margin: 0 0 16px; }
.sitemap-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sitemap-cols a { font-size: 14.5px; color: var(--desc); }

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .pf-intro { grid-template-columns: 1fr; gap: 28px; }
  .sitemap-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .mo-only { display: block; }
  .nav-menu {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff;
    display: none; grid-template-columns: repeat(4, 1fr); gap: 4px;
    padding: 16px 16px; box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .nav-menu.open { display: grid; }
  .nav-menu a { color: var(--ink) !important; padding: 12px 4px; width: auto; text-align: center; font-size: 13.5px; }
  .nav-menu a.nav-cta { grid-column: 1 / -1; margin-top: 4px; }
  .nav-toggle { display: flex; }

  .cases-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-item { padding-left: 16px; }
  .process-item:nth-child(odd) { padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
  .closing { height: auto; min-height: 480px; padding: 60px 0; }
  .related-row { grid-template-columns: 1fr; }
  .leftover-gallery { grid-template-columns: repeat(2, 1fr); }
  .sitemap-cols { grid-template-columns: 1fr; }

  .bottom-bar { display: none !important; }
  .mo-bottom-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .mo-bottom-item { flex: 1; text-align: center; padding: 16px 0; font-size: 14.5px; font-weight: 600; }
  .mo-bottom-primary { background: var(--accent); color: #fff; }
  .mo-bottom-tel { color: var(--ink); }
  body { padding-bottom: 58px; }

  .footer-biz p br.mo-only { display: block; }
}

/* ---------- SERVICE 아이콘 크기 고정 (마크업 실제 클래스명: .svc-icon) ---------- */
.service-grid .service-card .svc-icon {
  display: block;
  width: 60px;
  height: 60px;
  margin: 0 0 18px;
  flex: 0 0 60px;
  overflow: hidden;
}
.service-grid .service-card .svc-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 60px;
  max-height: 60px;
}

/* ======================================================================
   ★ 단일 content 칼럼 (홈·허브·세부·gallery-case·지역·가이드 공통, PC 가운데)
   ====================================================================== */
:root { --col: 960px; }
main > section:not(.hero):not(.page-hero) > .wrap,
main > article > .wrap,
main > .wrap:not(.hero-content) { max-width: var(--col); margin-left: auto; margin-right: auto; }
.case-media { width: 100%; max-width: 100%; margin: 0 auto 16px; }
.case-media img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.case-article, .stage-row, .leftover-gallery, .process-list, .related-row, .cases-grid { max-width: 100%; width: 100%; }
.related-row { gap: 20px; }
.related-row img { height: 240px; }
.leftover-gallery { grid-template-columns: repeat(3, 1fr); }
.col-lead { font-size: 16.5px; line-height: 1.9; color: #374151; margin: 0 0 28px; }
.col-page { padding: 56px 0 72px; }
.col-page section { margin-top: 52px; }
.col-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.col-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.col-links a { color: var(--accent); font-weight: 600; font-size: 14.5px; }

/* 사진 그리드: 1·2·3장 = 1줄, 4장 = 2×2 */
.photo-grid { display: grid; gap: 16px; margin: 0 0 8px; }
.photo-grid.n1 { grid-template-columns: 1fr; }
.photo-grid.n2, .photo-grid.n4 { grid-template-columns: repeat(2, 1fr); }
.photo-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }

/* 큰카드 3열 + 더보기 */
.big-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.big-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.big-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.big-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.big-card .bc-body { display: block; padding: 20px 22px 24px; }
.big-card .bc-num { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.big-card h3 { font-size: 18px; margin: 0 0 8px; }
.big-card .bc-desc { display: block; font-size: 13.5px; color: var(--desc); line-height: 1.7; }
.big-grid .big-card.is-extra { display: none; }
.big-grid.is-open .big-card.is-extra { display: block; }
.big-grid.is-open { grid-template-columns: repeat(3, 1fr); }
.more-wrap { text-align: center; margin-top: 32px; }
.more-wrap.is-done { display: none; }

@media (max-width: 767px) {
  body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
  h1, h2, h3, .hero-title, .section-title { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }
  .big-card h3, .btn, .nav-menu a { white-space: nowrap; }
  h1, .hero-title { font-size: clamp(22px, 7vw, 30px); }
  .section-title { font-size: clamp(16px, 4.6vw, 21px); }
  .big-grid, .big-grid.is-open { grid-template-columns: 1fr; }
  .photo-grid.n3 { gap: 8px; }
  .related-row { grid-template-columns: 1fr; }
  .related-row img { height: 200px; }
  .nav-menu { grid-template-columns: repeat(3, 1fr); }
  .nav-menu a { font-size: 13px; padding: 12px 2px; }
}
