/* 더하고부대찌개 사이트 시안 — 공용 스타일 (외부 글꼴·CDN 없음) */
:root {
  --red: #BF1E2E;
  --yellow: #F6BB03;
  --brown: #2C1A00;
  --cream: #F5F2ED;
  --white: #FFFFFF;
  --line: rgba(44,26,0,.14);
  --muted: rgba(44,26,0,.72);
  --font: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--brown); background: var(--cream); line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; font-size: 17px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.draft { background: var(--yellow); color: var(--brown); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 16px; }

/* 상단바 */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--brown); }
.nav-wrap { display: flex; align-items: center; min-height: 68px; gap: 16px; }
.brand img { height: 32px; width: auto; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid rgba(255,255,255,.4); color: var(--white); font: inherit; font-weight: 700; font-size: 15px; border-radius: 10px; padding: 6px 14px; cursor: pointer; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 32px; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-color: var(--yellow); }

/* 경로 표시 */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }

/* 머리 */
.page-head { padding: 40px 0 24px; }
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--red);font-weight:800;font-size:15px;letter-spacing:.02em;margin-bottom:16px}.eyebrow::before{content:"";width:22px;height:2px;background:var(--red)}  /* 2026-10-15 master(오너 위임): 노란 알약 → 배경 없는 빨간 글자, about·menu·faq는 요소 삭제 */
h1 { font-size: clamp(28px, 1.6vw + 21px, 42px); line-height: 1.3; letter-spacing: -1px; font-weight: 800; }
.lead { margin-top: 16px; font-size: 19px; max-width: 760px; }
/* 메인 첫 화면 — 전폭 배경 사진 + 어두운 그라데이션 (2026-10-14 오너 승인) */
.hero-full { position: relative; overflow: hidden; background: #1c1000; min-height: clamp(480px, 40vw, 600px); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,16,0,.92) 0%, rgba(28,16,0,.88) 40%, rgba(28,16,0,.66) 64%, rgba(28,16,0,.12) 100%); }
.hero-tx { position: relative; padding-top: 56px; padding-bottom: 56px; color: var(--white); }
.hero-tx h1 { max-width: 620px; color: var(--white); }
.hero-tx .lead { max-width: 560px; color: var(--white); }
.proof { list-style: none; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; }
.proof a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.45); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; }
.proof a:hover { background: rgba(255,255,255,.22); }
.proof .ico { flex: none; color: var(--yellow); }
.btn-main { background: var(--yellow); color: var(--brown); min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-sub { border: 2px solid rgba(255,255,255,.8); color: var(--white); }
.btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; }
.btn-red { background: var(--red); color: var(--white); }
.btn-line { border: 2px solid var(--brown); color: var(--brown); }
.btn-green { background: #03A94D; color: var(--white); }

/* 본문 섹션 */
section.block { padding: 56px 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--white); }
h2 { font-size: clamp(22px, 0.9vw + 18px, 30px); line-height: 1.35; letter-spacing: -.5px; font-weight: 800; }
.answer { margin-top: 14px; font-size: 19px; font-weight: 600; max-width: 820px; }
.body { margin-top: 14px; max-width: 820px; }
.body p + p { margin-top: 10px; }
h3 { font-size: clamp(16px, 0.45vw + 14.5px, 20px); line-height: 1.4; font-weight: 800; }
/* 줄바꿈 다듬기 (2026-10-14 master·오너): 낱말 단위로 끊고(keep-all), 제목은 줄 길이를 고르게(balance), 단락은 끝줄에 한 단어만 남지 않게(pretty) */
h1, h2, h3, .lead, .answer, .stat b, .btn, .proof a { text-wrap: balance; }
p, li, dd, dt, figcaption, caption { text-wrap: pretty; }
td, th, dt, .acts a, .btn, .proof a { overflow-wrap: normal; }
.nw { white-space: nowrap; }  /* 줄바꿈 금지 구절(가운뎃점으로 이은 낱말) */  /* 표 칸·버튼은 낱말 길이보다 좁아지지 않게 — anywhere는 표 열 최소 폭까지 줄여 낱말 중간을 끊음 */
.src { margin-top: 10px; font-size: 14px; color: var(--muted); }
.src a { color: var(--muted); }

.stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats.s3 { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.stat b { display: block; font-size: 24px; line-height: 1.3; color: var(--red); }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }

.grid { margin-top: 28px; display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.card { background: var(--cream); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
section.block:not(.alt) .card { background: var(--white); border: 1px solid var(--line); }
.card .ph { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--brown); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.fit img { object-fit: contain; }
.card .ph .badge { position: absolute; left: 12px; top: 56px; max-width: calc(100% - 24px); background: var(--red); color: var(--white); font-weight: 800; font-size: 13px; line-height: 1.35; padding: 5px 10px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.card .ph .num { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
/* 이유 카드 8장: 사진 칸 16:9 통일, 번호는 글 영역 제목 위(2026-10-15 master·오너 — band 방식 폐지). 메뉴 카드(4:3)·매장 카드(16:9)는 그대로 */
.card.rs .ph { aspect-ratio: 16 / 9; }
.card.rs .ph.fit img { object-fit: contain; }
.card.rs .tx .num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--yellow); color: var(--brown); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.card .tx { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card .tx p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card .tx .more { margin-top: auto; padding-top: 12px; font-weight: 800; font-size: 15px; }
.store-card .ph { aspect-ratio: 16 / 9; }
.card .ph.none { display: flex; align-items: center; justify-content: center; }
.card .ph.none img { width: auto; height: 34px; opacity: .55; object-fit: contain; }
.store-card .addr { font-size: 15px; color: var(--muted); margin-top: 6px; }
.acts { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.acts a { flex: 1 1 auto; white-space: nowrap; min-width: 72px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 800; font-size: 14px; text-decoration: none; text-align: center; padding: 0 8px; }
.a-page { background: var(--brown); color: var(--white); }
.a-tel { background: var(--cream); color: var(--brown); border: 1px solid var(--line); }
.a-naver { background: #03A94D; color: var(--white); }

/* 표 */
.tbl-wrap { margin-top: 18px; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; max-width: 820px; background: var(--white); border-radius: 14px; overflow: hidden; font-size: 16px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: rgba(44,26,0,.05); font-weight: 800; }
tr.off td { color: var(--red); font-weight: 700; }

/* 정보 목록 */
.facts { margin-top: 18px; display: grid; grid-template-columns: 140px 1fr; max-width: 820px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts dt, .facts dd { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; background: rgba(44,26,0,.04); }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14px; font-weight: 700; }

.split { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.photo { border-radius: 18px; overflow: hidden; }
.photo figcaption, figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* 리뷰 캡처 가로 스크롤 */
.hscroll { margin-top: 24px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.hscroll figure { flex: 0 0 260px; scroll-snap-align: start; }
.hscroll img, .capture img { border-radius: 16px; border: 1px solid var(--line); background: var(--white); }
.capture { max-width: 360px; }
.rv { margin-top: 24px; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }  /* 매장 평가: 리뷰 캡처 고정 폭 + 사진 갤러리가 남은 폭 전부(2026-10-15 master·오너 '꽉 채우게') */
.gallery { display: grid; grid-template-columns: 1fr; gap: 18px; }  /* 매장 실내 사진 2장(가로 사진은 위아래로) */
.gallery.v { grid-template-columns: 1fr 1fr; }  /* 세로 사진은 2단 */
.gallery .wide { grid-column: 1 / -1; }  /* 울산대: 가로 전경 1장 전폭 */
@media (max-width: 900px) { .rv { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .gallery.v { grid-template-columns: 1fr; } }  /* 모바일: 세로 사진도 위아래로 쌓기 */
.gallery .photo img { width: 100%; height: auto; display: block; border-radius: 18px; }
.sub-q { margin-top: 40px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; }  /* 계룡 수상 이력 소제목(2026-10-15) */
.awards { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 18px; }
.awards img { width: 100%; height: auto; display: block; border-radius: 12px; }
@media (max-width: 760px) { .awards { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { margin-top: 22px; max-width: 820px; }
.faq .q { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.faq .q + .q { margin-top: 12px; }
.faq .q h3 { font-size: 18px; }
.faq .q p { margin-top: 8px; }

.near { margin-top: 26px; padding: 22px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); max-width: 820px; }
.near .k { font-weight: 800; }
.near ul { margin-top: 8px; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* 푸터 */
.site-footer { background: var(--red); color: var(--white); padding: 52px 0 40px; margin-top: 0; }
.site-footer a { color: var(--white); }
.slogan { font-size: 30px; line-height: 1.35; font-weight: 800; }
.slogan em { font-style: normal; color: var(--yellow); }
.foot-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; font-size: 15px; font-weight: 700; }
.biz { margin-top: 22px; font-size: 14px; line-height: 1.9; opacity: .92; }
.biz span { display: inline-block; margin-right: 16px; }
.updated { margin-top: 10px; font-size: 13px; opacity: .85; }

@media (max-width: 1000px) {
  .g4, .g5 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }  /* 사진·정보 2단을 900px 이하에서 1단으로 — 정보 칸이 좁아 주소가 낱말 하나씩 끊기던 것 방지 */
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav-wrap { min-height: 58px; }
  .brand img { height: 26px; }
  .js .nav-toggle { display: inline-block; }
  .site-nav ul { gap: 18px; flex-wrap: wrap; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 58px; background: var(--brown); border-top: 1px solid rgba(255,255,255,.12); }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; padding: 6px 18px 14px; }
  .js .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .site-nav { margin-left: 0; }
  .nav-wrap { flex-wrap: wrap; }
  .lead { font-size: 17px; }
  .hero-full { display: block; min-height: 0; }
  .hero-bg { position: static; }
  .hero-bg img { height: auto; aspect-ratio: 3 / 2; }
  .hero-bg::after { display: none; }
  .hero-tx { padding-top: 24px; padding-bottom: 36px; }
  .proof a { font-size: 14px; min-height: 38px; padding: 5px 12px; }
  .btn-main { flex: 1 1 100%; }
  .answer { font-size: 17px; }
  section.block { padding: 44px 0; }
  .g4, .g5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .g3 { grid-template-columns: 1fr; }
  .card .tx { padding: 12px 13px 15px; }
    .card .ph .badge { top: 52px; left: 8px; max-width: calc(100% - 16px); font-size: 11px; padding: 4px 7px; }
  .stats.s3 { grid-template-columns: 1fr; }
  .card .tx p { font-size: 14px; }
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 96px 1fr; font-size: 15px; }
  .facts dt, .facts dd { padding: 10px 12px; }
  th, td { padding: 9px 10px; font-size: 14px; }
}
@media (max-width: 400px) {
  th, td { padding: 8px 7px; font-size: 13.5px; }
  .hscroll figure { flex-basis: 230px; }
  .slogan { font-size: 24px; }
}
