/* Classic Shop. 색은 settings.json → layouts/base.html 의 CSS 변수로 들어온다. */
* { box-sizing: border-box; }
body { margin: 0; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: #667085; }
.preview-ribbon { background: #ffd400; color: #3c3200; font-size: 13px; font-weight: 700; text-align: center; padding: 4px; }
.notice { background: var(--primary); color: #fff; font-size: 13px; text-align: center; padding: 7px 12px; }

.header { border-bottom: 1px solid #e5e7eb; background: #fff; position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { font-weight: 800; font-size: 21px; color: var(--primary); letter-spacing: -0.02em; white-space: nowrap; }
.gnb { display: flex; gap: 20px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.gnb a { font-weight: 600; font-size: 15px; white-space: nowrap; color: #344054; }
.gnb a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--primary); color: #fff; font-weight: 700; }
.btn:hover { filter: brightness(1.1); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }

.hero { padding: 28px 0; }
.hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.hero-card { border-radius: 18px; padding: 36px; background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 260px; justify-content: flex-end; }
.hero-card.main { background: var(--primary); color: #fff; }
.hero-card.main .btn { background: #fff; color: var(--primary); }
.hero-card h2 { margin: 0; font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.3; }
.hero-card p { margin: 0 0 14px; opacity: .85; }
.eyebrow { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--accent); color: #fff; }

.section { padding: 48px 0; }
.section.soft { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 24px; }
.more { font-weight: 700; color: var(--primary); }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { border: 1px solid #e5e7eb; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: #fff; transition: box-shadow .15s, transform .15s; }
.cat:hover { box-shadow: 0 8px 24px rgb(16 24 40 / 8%); transform: translateY(-2px); }
.cat-thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--surface); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.cat small { color: #667085; }
.from { margin-top: 8px; font-weight: 800; color: var(--accent); }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide { background: #fff; border-radius: 14px; padding: 20px; }
.guide p { margin: 6px 0 0; color: #667085; font-size: 14px; }

.estimate-placeholder { margin-top: 24px; border: 2px dashed #d0d5dd; border-radius: 16px; padding: 32px; text-align: center; background: var(--surface); }

.footer { border-top: 1px solid #e5e7eb; padding: 32px 0; font-size: 14px; color: #475467; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.footer p { margin: 6px 0 0; }
.footer .phone { font-size: 20px; font-weight: 800; color: var(--primary); }
.powered { margin-top: 20px; font-size: 12px; color: #98a2b3; }

@media (max-width: 860px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .gnb { display: none; }
}
