:root {
  --brand: #c8943a;
  --brand-dark: #96681f;
  --brand-deep: #6e4a15;
  --cream: #f8f1e2;
  --ink: #211a14;
  --gray: #6f6255;
  --line: #e6d9bd;
  --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.1rem; color: var(--brand-dark); white-space: nowrap; letter-spacing: -.01em; }
.main-nav { display: flex; gap: 14px; flex: 1; justify-content: center; }
.main-nav a { font-weight: 600; color: var(--ink); font-size: 0.92rem; white-space: nowrap; }
.main-nav a:hover { color: var(--brand-dark); }
.btn-call { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; white-space: nowrap; box-shadow: 0 4px 14px rgba(150,104,31,.25); }

/* hero */
.hero { background: linear-gradient(180deg, var(--cream), #fff); padding: 48px 0 40px; overflow: hidden; }
.hero h1 { font-size: 1.9rem; margin: 0 0 14px; color: var(--brand-dark); }
.hero .lede { font-size: 1.05rem; color: var(--ink); max-width: 760px; }
.hero-cta { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 6px 18px rgba(150,104,31,.28); }
.btn-outline { border: 2px solid var(--brand); color: var(--brand-dark); }

/* 히어로 - 텍스트 + 사진 2단 레이아웃 (서비스 상세페이지용) */
.hero-flex { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 40px rgba(33,26,20,.22); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* 히어로 - 전체 배경 슬라이드쇼 (메인페이지용) */
.hero-slideshow { position: relative; height: 560px; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s ease, transform 6s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(33,26,20,.82) 0%, rgba(33,26,20,.52) 42%, rgba(33,26,20,.16) 75%);
}
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-content h1 { font-size: 2.2rem; margin: 0 0 14px; color: #fff; }
.hero-content .lede { font-size: 1.05rem; color: #f3ecdd; max-width: 640px; }
.btn-outline-light { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.hero-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: all .25s; }
.hero-dot.is-active { background: var(--brand); width: 26px; border-radius: 5px; }

/* 시공사례 사진 카드 */
.photo-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.photo-case:hover { box-shadow: 0 10px 26px rgba(33,26,20,.14); transform: translateY(-2px); }
.photo-case img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-case figcaption { padding: 14px 16px; color: var(--gray); font-size: 0.92rem; }
.photo-case-single { max-width: 640px; margin: 0 auto; }

/* section */
section { padding: 44px 0; }
section h2 { font-size: 1.5rem; margin: 0 0 8px; color: var(--ink); }
section .section-desc { color: var(--gray); margin: 0 0 24px; }
.alt-bg { background: var(--cream); }

/* 서비스 허브 카드 */
.highlight-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.highlight-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s, transform .2s; padding: 22px; }
.highlight-card:hover { box-shadow: 0 10px 26px rgba(33,26,20,.14); transform: translateY(-2px); }
.highlight-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.highlight-card p { margin: 0 0 12px; color: var(--gray); font-size: 0.92rem; }
.highlight-card .link { font-weight: 700; color: var(--brand-dark); font-size: 0.9rem; }

/* pricing table */
table.price-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.price-table th, table.price-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 0.95rem; }
table.price-table th { background: var(--cream); font-weight: 700; color: var(--brand-dark); }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--gray); }

/* footer */
.site-footer { background: var(--ink); color: #cabfa9; padding: 36px 0; margin-top: 30px; }
.footer-nav { display: flex; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-nav a { color: #efe4cc; font-weight: 600; }
.biz-info { font-size: 0.85rem; line-height: 1.8; margin: 0 0 10px; }
.biz-info a { color: var(--brand); }
.copyright { font-size: 0.78rem; color: #8a7c66; margin: 0; }

.last-mod { color: var(--gray); font-size: 0.85rem; margin-top: 6px; }

/* 상담페이지 */
.contact-action-box { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.contact-action-box-solo { max-width: 420px; margin: 0 auto; text-align: center; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.btn-large { padding: 18px 24px; font-size: 1.1rem; text-align: center; }

@media (max-width: 900px) {
  .photo-cases { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .highlight-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .hero-flex { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .photo-cases { grid-template-columns: 1fr; }
  .hero-slideshow { height: 460px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-overlay { background: linear-gradient(180deg, rgba(33,26,20,.35) 0%, rgba(33,26,20,.82) 65%); }
}
