/* ═══ 디자인 시스템 ═══
   사이트: frame.jipsurikorea.com
   업종: 샷시 문틀 몰딩 복원
   Primary: #1e3a5f (딥 슬레이트 — 건설·시공·전문가)
   Accent: #c8a96e (웜 골드)
   배경1: #ffffff / 배경2: #f8f8f8 / 배경3: #1e3a5f
   폰트: Pretendard, Noto Sans KR
   카드: border-radius 0.75rem
   버튼: border-radius 0.375rem
   ═══════════════════════ */

:root {
  --primary: #1e3a5f;
  --primary-dark: #152c48;
  --primary-light: #2c4f7c;
  --accent: #c8a96e;
  --bg-white: #ffffff;
  --bg-gray: #f8f8f8;
  --bg-dark: #1e3a5f;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --card-radius: 0.75rem;
  --btn-radius: 0.375rem;
  --section-py: 5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ── 섹션 레이블 배지 ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: rgba(30, 58, 95, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.section-label.light {
  color: var(--accent);
  background: rgba(200, 169, 110, 0.15);
}

/* ── 제목 ── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title.light { color: #fff; }
.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

/* ── 컨테이너 ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--btn-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: #b5944f; border-color: #b5944f; }

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}
#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
/* .header-logo-img — 로고 이미지 제거로 미사용 */

.header-logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.header-logo-sub {
  font-size: 1.1rem;
  font-weight: 800;
  color: #9ca3af;
  letter-spacing: -0.03em;
}

/* ── SERVICE 섹션 ── */
#service {
  padding: var(--section-py) 0 4rem;
  background: var(--bg-white);
}
#service .service-header { margin-bottom: 3rem; }
#service .service-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-top: 1rem;
  max-width: 640px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30,58,95,0.12);
}
.service-card .card-thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card .card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .card-thumb img { transform: scale(1.04); }
.service-card .card-body {
  padding: 1rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.service-card .card-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
}
.service-card .card-desc {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-card .card-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  transition: color 0.3s;
  margin-top: 0.2rem;
}
.service-card:hover .card-more { color: var(--primary); }

/* ── Hero 슬라이더 ── */
#hero {
  padding: 4rem 0 var(--section-py);
  background: var(--bg-gray);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) { .hero-inner { grid-template-columns: 1fr; } }

.hero-text { order: 1; }
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.hero-keyword {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-tags {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-slider { order: 2; position: relative; border-radius: var(--card-radius); overflow: hidden; }
.slider-track { position: relative; aspect-ratio: 4/3; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.slider-dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* ── Gallery 섹션 ── */
#gallery {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}
.gallery-section { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.gallery-card .card-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-card:hover .card-thumb img { transform: scale(1.03); }
.case-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  background: var(--primary); color: #fff;
  padding: 0.2rem 0.6rem; border-radius: 0.25rem;
}
.gallery-card .card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card-title { font-weight: 800; font-size: 1rem; line-height: 1.4; }
.card-sub { font-weight: 300; font-size: 0.875rem; color: var(--text-muted); }
.card-more { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); transition: color 0.3s ease; }
.gallery-card:hover .card-more { color: var(--primary); }

/* ── Why Us ── */
#why-us {
  padding: var(--section-py) 0;
  background: var(--bg-gray);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2rem;
  border-left: 4px solid var(--primary);
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── Process ── */
#process {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  text-align: center;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 2.5rem; right: -0.75rem;
  width: 1.5rem; height: 2px;
  background: var(--border);
}
.process-step:last-child::after { display: none; }
@media (max-width: 768px) { .process-step::after { display: none; } }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem; height: 5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1.25rem;
  font-family: 'Courier New', monospace;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── FAQ ── */
#faq {
  padding: var(--section-py) 0;
  background: var(--bg-gray);
}
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 1rem;
  user-select: none;
  /* button 기본값 초기화 */
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
  color: var(--primary);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

/* ── CTA ── */
#cta {
  padding: var(--section-py) 0;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.trust-badges {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
.trust-badge svg { color: var(--accent); }

/* ── Footer ── */
#footer {
  background: #111827;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}
.footer-brand a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}
.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav ul li a {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav ul li a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ── Floating 버튼 ── */
#floating-btn {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
}
.floating-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1.25rem;
  border-radius: 3rem;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(30,58,95,0.35);
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}
.floating-link:hover { transform: scale(1.04); }
.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 3rem;
  border: 2px solid var(--primary);
  animation: pulseRing 3s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ── 애니메이션 ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* ── Sub Hero (NSEO 페이지) ── */
.sub-hero {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,58,95,0.85) 50%, rgba(30,58,95,0.4));
}
.sub-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 600px;
}
.sub-hero-content .section-label { color: var(--accent); background: rgba(200,169,110,0.15); }
.sub-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0.75rem 0;
}
.sub-hero-desc { font-size: 1rem; font-weight: 300; opacity: 0.85; line-height: 1.8; margin-bottom: 2rem; }
.sub-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 768px) { .sub-hero { height: 380px; } }

/* ── NSEO 페이지 섹션들 ── */
.case-section { padding: var(--section-py) 0; background: var(--bg-white); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 640px) { .case-grid { grid-template-columns: 1fr; } }
.case-img-wrap { border-radius: var(--card-radius); overflow: hidden; }
.case-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-caption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  text-align: center;
}

.content-section { padding: var(--section-py) 0; background: var(--bg-gray); }
.content-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.content-section p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
  max-width: 800px;
}

.steps-section { padding: var(--section-py) 0; background: var(--bg-white); }
.steps-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-gray);
  border-radius: var(--card-radius);
}
.step-badge {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
}
.step-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.step-item p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 비교표 */
.compare-section { padding: var(--section-py) 0; background: var(--bg-gray); }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.compare-table th {
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
}
.compare-table td {
  padding: 0.875rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.compare-table tr:nth-child(even) td { background: #fff; }
.compare-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* 관련 서비스 카드 그리드 */
.related-section { padding: var(--section-py) 0; background: var(--bg-white); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
.related-card:hover:not(.current-page) {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30,58,95,0.1);
}
.related-card.current-page {
  border-color: var(--primary);
  background: rgba(30,58,95,0.04);
  cursor: default;
}
.related-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.related-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.related-card p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}
.current-label {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(30,58,95,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}

/* 유도 배너 */
.main-banner {
  background: var(--bg-gray);
  border-radius: var(--card-radius);
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
  margin: 3rem 0;
}
.main-banner p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ── 상담 페이지 ── */
.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .contact-steps { grid-template-columns: 1fr; } }
.contact-step {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
}
.contact-step .step-num {
  width: 4rem; height: 4rem;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.contact-step h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.contact-step p { font-size: 0.88rem; font-weight: 300; color: var(--text-muted); line-height: 1.75; }
.contact-cta-box {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.notice-box {
  background: rgba(30,58,95,0.05);
  border: 1px solid rgba(30,58,95,0.15);
  border-radius: var(--card-radius);
  padding: 1.75rem 2rem;
  margin-top: 3rem;
}
.notice-box h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.notice-box ul li {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-muted);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.7;
}
.notice-box ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* ── 포트폴리오 상세 ── */
.detail-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 30%, rgba(0,0,0,0.2));
  display: flex;
  align-items: flex-end;
}
.detail-hero-content {
  padding: 2.5rem;
  color: #fff;
  width: 100%;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }
.detail-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; }

.info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--primary);
  color: #fff;
}
@media (max-width: 640px) { .info-bar { grid-template-columns: repeat(2, 1fr); } }
.info-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.info-item:last-child { border-right: none; }
.info-label { font-size: 0.7rem; font-weight: 400; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.info-value { font-size: 0.95rem; font-weight: 700; }

.detail-section { padding: 4rem 0; }
.detail-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.detail-section .desc-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 480px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; }

.process-step-detail {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.process-step-detail .step-badge { flex-shrink: 0; }
.process-step-detail .step-content h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.process-step-detail .step-content p { font-size: 0.9rem; font-weight: 300; color: var(--text-muted); line-height: 1.8; }
.process-step-detail .step-imgs { margin-top: 1rem; }
.process-step-detail .step-imgs img { width: 100%; max-width: 480px; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; }

.summary-box {
  background: rgba(30,58,95,0.04);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.75rem 2rem;
  margin-top: 2rem;
}
.summary-box ul { display: flex; flex-direction: column; gap: 0.6rem; }
.summary-box ul li {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
}
.summary-box ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ── 사이트맵 ── */
.sitemap-section { padding: var(--section-py) 0; }
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .sitemap-grid { grid-template-columns: 1fr; } }
.sitemap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem;
}
.sitemap-card h3 { font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.sitemap-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sitemap-card ul li a {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color 0.2s;
}
.sitemap-card ul li a:hover { color: var(--primary); }

/* ── 공통 유틸 ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-header { padding-top: 64px; }

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }
  .hero-inner { gap: 2rem; }
}
