/* Noble Plastic Surgery — desktop skin clone (static PHP MVC) */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: 'Spoqa Han Sans Neo', 'Malgun Gothic', sans-serif; color: #222; background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: #b48f5f; }
img { max-width: 100%; height: auto; vertical-align: middle; }
ul { list-style: none; }
button, input { font: inherit; }

.inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.inner.narrow { max-width: 880px; }
.btn-primary, .btn-ghost { display: inline-block; padding: 14px 28px; border-radius: 4px; border: 1px solid #222; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn-primary { background: #222; color: #fff; }
.btn-primary:hover { background: #b48f5f; border-color: #b48f5f; color: #fff; }
.btn-ghost { background: transparent; color: #222; }
.btn-ghost:hover { background: #f3ede4; color: #222; }
.btn-block { width: 100%; display: block; }

/* Header */
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #eee; z-index: 100; }
.site-header .inner { display: flex; align-items: center; padding: 16px 20px; gap: 32px; }
.site-header .logo { flex: 0 0 auto; }
.site-header .logo a { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 22px; color: #222; letter-spacing: -.02em; }
.site-header .logo img { max-height: 48px; }
.site-header .gnb { flex: 1; }
.site-header .gnb > ul { display: flex; gap: 28px; justify-content: center; }
.site-header .gnb > ul > li { position: relative; padding: 12px 0; }
.site-header .gnb > ul > li > a { font-weight: 600; font-size: 16px; }
.site-header .gnb .sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #eee; min-width: 140px; padding: 10px 0; display: none; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.site-header .gnb .sub li a { display: block; padding: 8px 16px; font-size: 14px; white-space: nowrap; text-align: center; }
.site-header .gnb .sub li a:hover { background: #f3ede4; }
.site-header .gnb .has-sub:hover .sub { display: block; }
.site-header .util { flex: 0 0 auto; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.site-header .util .tel { color: #b48f5f; font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(135deg, #f7f0e4 0%, #fff 100%); padding: 120px 0; text-align: center; }
.hero .eyebrow { font-size: 14px; letter-spacing: .2em; color: #b48f5f; margin-bottom: 14px; font-weight: 600; }
.hero h2 { font-size: 48px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; letter-spacing: -.02em; }
.hero .desc { font-size: 18px; color: #555; margin-bottom: 36px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; }

/* Sections */
.sec { padding: 80px 0; }
.sec-title { font-size: 32px; text-align: center; margin-bottom: 12px; font-weight: 800; letter-spacing: -.02em; }
.sec-desc { text-align: center; color: #666; margin-bottom: 40px; }
.sec-sub { font-size: 22px; margin: 40px 0 20px; font-weight: 700; }

/* Specialty grid */
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.specialty-grid li a { display: block; background: #faf6ef; border-radius: 12px; padding: 40px 24px; text-align: center; transition: all .25s; }
.specialty-grid li a:hover { background: #b48f5f; color: #fff; transform: translateY(-4px); }
.specialty-grid .ico { font-size: 40px; color: #b48f5f; margin-bottom: 12px; display: block; }
.specialty-grid li a:hover .ico { color: #fff; }
.specialty-grid b { display: block; font-size: 20px; margin-bottom: 6px; }
.specialty-grid em { display: block; font-size: 14px; font-style: normal; color: #888; }
.specialty-grid li a:hover em { color: rgba(255,255,255,.85); }

/* Notice grid */
.notice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.notice-grid .col { background: #fff; }
.notice-grid .col h4 { font-size: 18px; padding-bottom: 12px; border-bottom: 2px solid #222; margin-bottom: 16px; }
.board-list-peek li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.board-list-peek li a:hover { color: #b48f5f; }

/* Visit grid */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.visit-grid .card { background: #faf6ef; padding: 32px; border-radius: 12px; text-align: center; }
.visit-grid .card h4 { font-size: 18px; margin-bottom: 14px; }
.visit-grid .card h4 .fas { margin-right: 6px; color: #b48f5f; }
.visit-grid .card p { line-height: 1.7; }

/* Page body (for captured content) */
.page-body { margin-top: 30px; }
.page-body img { display: block; margin: 10px auto; }

/* Product grid */
.prd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 30px 0; }
.prd-grid.small { grid-template-columns: repeat(6, 1fr); }
.prd-grid li a { display: block; }
.prd-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }
.prd-grid strong { display: block; margin: 10px 0 4px; font-size: 14px; }
.prd-grid .price { color: #b48f5f; font-weight: 700; font-style: normal; }
.empty { text-align: center; padding: 40px 0; color: #888; }

/* Product detail */
.prd-detail .prd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0; }
.prd-detail .prd-img img { width: 100%; border-radius: 8px; }
.prd-detail .prd-info .name { font-size: 28px; margin-bottom: 14px; }
.prd-detail .prd-info .price { font-size: 24px; color: #b48f5f; font-weight: 700; margin-bottom: 24px; }
.prd-detail .actions { display: flex; gap: 10px; margin-top: 30px; }
.prd-detail .crumbs { color: #888; font-size: 14px; margin-bottom: 20px; }
.prd-desc { margin: 40px 0; padding: 30px; background: #fafafa; border-radius: 8px; }

/* Board */
.board-list { width: 100%; border-top: 2px solid #222; margin: 30px 0; }
.board-list th, .board-list td { padding: 14px; border-bottom: 1px solid #eee; text-align: center; }
.board-list th { background: #faf6ef; }
.board-list td.subject { text-align: left; }
.post { margin: 30px 0; padding: 30px 0; }
.post header { padding-bottom: 20px; border-bottom: 2px solid #222; margin-bottom: 24px; }
.post header h2 { font-size: 26px; margin-bottom: 10px; }
.post .meta { color: #888; font-size: 14px; }
.post .body { line-height: 1.8; }

/* Forms */
.form-stack { display: grid; gap: 14px; margin: 24px 0; }
.form-stack label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form-stack input { padding: 12px; border: 1px solid #ccc; border-radius: 4px; }
.form-stack input:focus { outline: none; border-color: #b48f5f; }
.form-stack .chk { display: flex; gap: 8px; align-items: center; font-weight: 400; }

/* Pager */
.pager { text-align: center; margin: 30px 0; }
.pager a { display: inline-block; padding: 8px 14px; border: 1px solid #ddd; margin: 0 2px; border-radius: 4px; font-size: 14px; }
.pager a.current { background: #222; color: #fff; border-color: #222; }
.pager a:hover { border-color: #b48f5f; color: #b48f5f; }

/* Crumbs */
.crumbs { font-size: 14px; color: #888; margin-bottom: 16px; }
.crumbs a:hover { color: #b48f5f; }

/* Policy */
.policy h3 { margin-top: 24px; margin-bottom: 10px; font-size: 17px; }
.policy .note { margin-top: 30px; color: #888; font-size: 13px; }
.aux { text-align: center; margin-top: 20px; font-size: 14px; color: #666; }

/* Footer */
.site-footer { background: #222; color: #aaa; padding: 60px 0 30px; margin-top: 80px; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #fff; }
.site-footer .fnav { display: flex; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #444; margin-bottom: 24px; font-size: 14px; }
.site-footer .info p { margin-bottom: 6px; font-size: 14px; }
.site-footer .info strong { color: #fff; font-size: 16px; }
.site-footer .copy { margin-top: 30px; font-size: 13px; color: #666; }
.site-footer .viewtoggle { margin-top: 8px; }
.site-footer .viewtoggle a { text-decoration: underline; font-size: 13px; }

/* Error */
.sec-error, .sec-stub { text-align: center; padding: 120px 0; }

/* Responsive tweaks */
@media (max-width: 1100px) {
    .site-header .inner { flex-wrap: wrap; }
    .site-header .gnb > ul { gap: 18px; }
    .specialty-grid, .notice-grid, .visit-grid, .prd-grid { grid-template-columns: repeat(2, 1fr); }
    .prd-grid.small { grid-template-columns: repeat(3, 1fr); }
    .prd-detail .prd-wrap { grid-template-columns: 1fr; }
    .hero h2 { font-size: 34px; }
}
