/* 킹스짐 홈페이지 공통 스타일 — 밝은 실내 인테리어와 노란색 브랜드 포인트 반영 */
:root {
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-2: #efefeb;
  --line: #e4e4de;
  --text: #1a1a1a;
  --muted: #5c5f66;
  --yellow: #ffd400;
  --yellow-dark: #ecc400;
  --black: #111214;
  --radius: 14px;
  --max: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* 상단 내비게이션 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand .crown { width: 28px; height: 28px; flex: none; }
.brand small { display: block; font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  padding: 8px 12px; border-radius: 8px; font-size: .95rem; color: var(--muted); font-weight: 600;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a.active { color: var(--text); box-shadow: inset 0 -2px 0 var(--yellow); }
.site-nav a.nav-cta {
  color: var(--black); background: var(--yellow); margin-left: 6px;
}
.site-nav a.nav-cta:hover { background: var(--yellow-dark); color: var(--black); }

/* 히어로 */
.hero {
  position: relative; overflow: hidden;
  background: var(--black);
}
.hero video.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .5;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 110px; }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .05em;
  color: var(--black); background: var(--yellow); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.25;
  margin-bottom: 18px; color: #fff;
}
.hero h1 .hl {
  background: linear-gradient(transparent 62%, rgba(255,212,0,.85) 62%);
}
.hero p.lead { font-size: 1.12rem; color: #d7d8db; max-width: 620px; margin-bottom: 34px; }
.hero .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.hero .btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 1.02rem;
  border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--yellow); color: var(--black); }
.btn-gold:hover { background: var(--yellow-dark); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg); }
.btn-ghost:hover { border-color: var(--black); }

/* 정보 바 */
.infobar { background: var(--black); color: #fff; }
.infobar .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px; padding-top: 28px; padding-bottom: 28px;
}
.infobar .item strong { display: block; font-size: .8rem; color: var(--yellow); letter-spacing: .08em; margin-bottom: 5px; }
.infobar .item span { font-size: .98rem; color: #e8e9eb; }

/* 섹션 */
section.block { padding: 72px 0; }
section.block.tight { padding: 52px 0; }
.sec-head { margin-bottom: 40px; }
.sec-head .sub { color: var(--black); background: var(--yellow); display: inline-block; padding: 3px 10px; border-radius: 6px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin-top: 10px; max-width: 640px; }

/* 카드 그리드 */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; overflow: hidden;
}
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--yellow); margin-bottom: 16px; font-size: 1.3rem;
}
.card figure { margin: -26px -26px 18px; }
.card figure img { width: 100%; height: 200px; object-fit: cover; }
.card .tag {
  display: inline-block; font-size: .75rem; font-weight: 800; color: var(--black);
  background: var(--yellow); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px;
}

/* 가격표 */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--black); color: #fff; font-size: .9rem; letter-spacing: .03em; }
.price-table td.amount { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.price-table tr:last-child td { border-bottom: none; }
.price-table .per { color: var(--muted); font-size: .85rem; font-weight: 500; }
.notice {
  margin-top: 18px; padding: 14px 18px; border-radius: 10px; font-size: .92rem;
  background: #fff8d6; border: 1px solid #f0dc82; color: #6b5a10;
}

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 1.02rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--black); font-size: 1.3rem; font-weight: 400; flex: none; }
.faq-item[open] summary { box-shadow: inset 0 3px 0 var(--yellow); }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 14px 22px 20px; color: var(--muted); }
.faq-item .answer p + p { margin-top: 8px; }

/* 오시는 길 */
.map-box {
  border: 1px dashed #c9c9c0; border-radius: var(--radius); background: var(--surface);
  min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 30px; color: var(--muted);
}
.map-box.map-embed { border: 1px solid var(--line); padding: 0; display: block; overflow: hidden; }
.map-box.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }
.addr-list { list-style: none; }
.addr-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.addr-list li:last-child { border-bottom: none; }
.addr-list .label { flex: none; width: 84px; font-weight: 800; font-size: .92rem; }

/* 갤러리 스트립 */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 220px; object-fit: cover; }

/* 하단 CTA / 푸터 */
.cta-band {
  background: var(--black); color: #fff;
  text-align: center; padding: 68px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: #b9bcc2; margin-bottom: 26px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { background: transparent; border-color: #3a3d44; color: #fff; }
.cta-band .btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.site-footer { background: #0c0d0f; border-top: 1px solid #23252b; padding: 44px 0 60px; color: #9ba0a8; font-size: .9rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid #23252b; font-size: .8rem; color: #6d7280; }

/* 페이지 히어로 (서브페이지) */
.page-hero { padding: 64px 0 40px; background: radial-gradient(800px 320px at 70% -20%, rgba(255,212,0,.18), transparent 60%); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { color: var(--muted); margin-top: 12px; max-width: 640px; font-size: 1.05rem; }

@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-header .wrap { padding-block: 10px; flex-wrap: wrap; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 70px; padding-bottom: 70px; }
  .price-table th, .price-table td { padding: 12px 10px; font-size: .9rem; }
}

/* Brand logo images */
.brand-logo { height: 34px; width: auto; display: block; }
.footer-logo { height: 42px; width: auto; display: block; margin-bottom: 14px; }

/* PT cards: portrait photo frames */
.pt-card figure img { height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.pt-card figure img.contain { object-fit: contain; background: #f4f4f2; }

/* Eyebrow link badge */
a.eyebrow-link { text-decoration: none; transition: background .15s ease; }
a.eyebrow-link:hover { background: var(--yellow-dark, #e6bf00); }
