/* ═══════════════════════════════════════════════════════
   지점 페이지 공통 레이아웃 (인천·시흥 및 향후 지점 공유)
   ─ 색은 전부 테마 토큰(var(--…))으로만 참조한다. 팔레트 무관.
   ─ 로드 순서: theme-*.css → common.css → branch.css → <지점>.css
   ─ 히어로 프레임(.hero/.hero-bg/.hero-content 박스)과 지점 전용
     요소는 <지점>.css override 에 있다.
   ═══════════════════════════════════════════════════════ */

/* ── 히어로 등장 모션 (프레임은 지점 CSS) ─────────── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--eyebrow-bd);
  background: var(--eyebrow-bg);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 700; color: var(--eyebrow-fg);
  letter-spacing: .03em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--eyebrow-dot);
}
.hero-h1 {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  word-break: keep-all;
}
.hero-h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--hero-sub-fg);
  max-width: 560px;
  margin-bottom: 36px;
  word-break: keep-all;
}
.hero-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--price-bg);
  border: 1px solid var(--price-bd);
  border-radius: 14px;
  padding: 12px 20px;
  margin-bottom: 32px;
  box-shadow: var(--price-shadow);
}
.hero-price-num {
  font-size: 26px; font-weight: 800; color: var(--accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hero-price-label {
  font-size: 13px; font-weight: 600; color: var(--price-label-fg);
  word-break: keep-all;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-primary {
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 28px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 700;
  box-shadow: var(--accent-shadow);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--accent-br); transform: translateY(-2px); box-shadow: var(--accent-shadow-lg); }
.btn-secondary {
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 24px;
  border: 1px solid var(--line);
  background: var(--btn-sec-bg);
  color: var(--text); border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--btn-sec-hover-bd); background: var(--accent-soft); }

/* 히어로 등장 모션 — 한 번의 오케스트레이션 */
.hero-content > * { opacity: 0; transform: translateY(14px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-content > :nth-child(1) { animation-delay: .05s; }
.hero-content > :nth-child(2) { animation-delay: .15s; }
.hero-content > :nth-child(3) { animation-delay: .28s; }
.hero-content > :nth-child(4) { animation-delay: .4s; }
.hero-content > :nth-child(5) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; opacity: 1; transform: none; }
}

/* ── 공통 섹션 헤더 ───────────────────────────────── */
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--text); line-height: 1.15;
  margin-bottom: 12px; word-break: keep-all;
}
.section-sub {
  font-size: 16px; color: var(--muted);
  line-height: 1.7; max-width: 500px; word-break: keep-all;
  margin-bottom: 60px;
}

/* ── 강점 섹션 ────────────────────────────────────── */
.features {
  background: var(--card);
  padding: 100px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  border: 2px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.feature-card {
  background: var(--inset);
  padding: 36px 28px;
  transition: background .2s;
}
.feature-card:hover { background: var(--feature-bg-hover); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--feature-icon-bd);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 8px; word-break: keep-all;
}
.feature-desc {
  font-size: 14px; color: var(--muted);
  line-height: 1.65; word-break: keep-all;
}

/* ── 객실 섹션 ────────────────────────────────────── */
.rooms {
  padding: 100px 24px;
  background: var(--bg);
}
.rooms-list { margin-top: 60px; display: flex; flex-direction: column; gap: 2px; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); }
.room-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  border-bottom: 1px solid var(--line);
}
.room-row:last-child { border-bottom: none; }
.room-row.reverse { direction: rtl; }
.room-row.reverse > * { direction: ltr; }
.room-photo {
  position: relative; overflow: hidden;
}
.room-info {
  background: var(--card);
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.room-badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
  /* 기본 배지 = 액센트 톤. 인천은 badge-* 클래스로 재정의 */
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.room-type { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.room-name { font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; color: var(--text); margin-bottom: 4px; }
.room-price {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800; color: var(--accent);
  letter-spacing: -0.03em; margin-bottom: 6px;
}
.room-price span { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.room-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 20px;
}
.spec-chip {
  font-size: 12px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); background: var(--inset);
  padding: 4px 10px; border-radius: 8px;
}
.room-fit {
  font-size: 14px; color: var(--muted); line-height: 1.65;
  margin-bottom: 24px; word-break: keep-all;
  padding: 14px 16px;
  background: var(--inset); border-radius: 10px;
  border-left: 2px solid var(--room-fit-bar);
}
.room-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.room-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.5; word-break: keep-all;
}
.room-points li::before {
  content: ''; display: block; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  margin-top: 7px;
}
.room-cta {
  display: inline-flex; align-items: center;
  height: 46px; padding: 0 20px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent); border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 700;
  width: fit-content;
  transition: background .2s, color .2s;
}
.room-cta:hover { background: var(--accent); color: #fff; }

/* ── 포함 항목 ────────────────────────────────────── */
.included {
  padding: 100px 24px;
  background: var(--card);
  border-top: 1px solid var(--line);
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.included-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--inset); border-radius: 14px;
  border: 1px solid var(--line);
  padding: 20px 18px;
}
.included-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.included-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.included-desc { font-size: 13px; color: var(--muted); line-height: 1.6; word-break: keep-all; }

/* ── 분위기 스트립 ────────────────────────────────── */
.atmo-strip {
  background: var(--bg);
  border-top: 2px solid var(--line);
}
.atmo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 220px;
  gap: 3px;
}
.atmo-cell { position: relative; overflow: hidden; }

/* ── 시설 갤러리 ──────────────────────────────────── */
.gallery {
  padding: 100px 24px;
  background: var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 200px 180px;
  gap: 4px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 48px;
}
.gallery-cell { position: relative; overflow: hidden; }
.gallery-cell:first-child { grid-row: 1 / 3; }
.gallery-cell:last-child { grid-column: 2 / 4; }
.gallery-label {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--gallery-label-bg);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px; font-weight: 600; color: var(--text);
}

/* ── 위치 ─────────────────────────────────────────── */
.location {
  padding: 100px 24px;
  background: var(--card);
  border-top: 1px solid var(--line);
}
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: start;
}
.map-slot {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
}
.location-items { display: flex; flex-direction: column; gap: 16px; }
.location-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.loc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 5px;
}
.loc-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.loc-time { font-size: 22px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.loc-desc { font-size: 13px; color: var(--muted); margin-top: 4px; word-break: keep-all; }
.loc-notice {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--notice-bd);
  border-radius: 10px;
  font-size: 12px; color: var(--notice-fg);
}

/* ── FAQ ──────────────────────────────────────────── */
.faq {
  padding: 100px 24px;
  background: var(--faq-bg);
  border-top: 1px solid var(--line);
}
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
details.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item:last-child { border-bottom: none; }
details.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 700; color: var(--text);
  background: var(--faq-summary-bg);
  transition: background .2s;
  word-break: keep-all;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { background: var(--faq-summary-hover); }
details.faq-item[open] summary { background: var(--faq-open-bg); color: var(--accent); }
.faq-arrow {
  font-size: 18px; color: var(--muted); flex-shrink: 0;
  transition: transform .3s;
}
details.faq-item[open] .faq-arrow { transform: rotate(45deg); }
details.faq-item .faq-body {
  padding: 20px 28px 28px;
  font-size: 14px; color: var(--muted);
  line-height: 1.75; word-break: keep-all;
  background: var(--card);
}

/* ── 문의 ─────────────────────────────────────────── */
.inquiry {
  padding: 100px 24px;
  background: var(--inquiry-bg);
  background-image: radial-gradient(ellipse at 60% 50%, var(--inquiry-glow) 0%, transparent 70%);
}
.inquiry-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.inquiry-h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; color: var(--text);
  letter-spacing: -0.025em; margin-bottom: 14px; word-break: keep-all;
}
.inquiry-sub { font-size: 16px; color: var(--muted); margin-bottom: 36px; line-height: 1.6; word-break: keep-all; }
.inquiry-checklist {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 40px; list-style: none;
}
.inquiry-checklist li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--checklist-bg); border: 1px solid var(--line);
  border-radius: 100px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.inquiry-checklist li::before { content: '✓'; color: var(--accent); }
.inquiry-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn-kakao {
  display: inline-flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 32px;
  background: #FEE500; color: #3C1E1E;
  border-radius: var(--radius-btn); border: none;
  font-size: 16px; font-weight: 800;
  transition: opacity .2s, transform .15s;
}
.btn-kakao:hover { opacity: .9; transform: translateY(-2px); }
.inquiry-addr { margin-top: 32px; font-size: 13px; color: var(--dim); }

/* ── 푸터 ─────────────────────────────────────────── */
footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px;
}
.footer-brand { font-size: 16px; font-weight: 700; }
.footer-brand span { color: var(--brand-gold); }
.footer-meta { font-size: 12px; color: var(--muted); line-height: 1.6; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ── 모바일 반응형 (공통) ─────────────────────────── */
@media (max-width: 768px) {
  .room-row { grid-template-columns: 1fr; }
  .room-row.reverse { direction: ltr; }
  .room-info { padding: 32px 24px; }
  .location-layout { grid-template-columns: 1fr; gap: 32px; }
  .atmo-inner { grid-template-columns: 1fr 1fr; height: 160px; }
  .atmo-inner .atmo-cell:last-child { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px 160px; }
  .gallery-cell:first-child { grid-column: 1 / 3; grid-row: 1; }
  .gallery-cell:last-child { grid-column: 1 / 3; }
}
@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .atmo-inner { grid-template-columns: 1fr; height: auto; }
  .atmo-inner .atmo-cell:last-child { display: block; }
  .atmo-cell { height: 160px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-cell:first-child { grid-column: auto; grid-row: auto; }
  .gallery-cell:last-child { grid-column: auto; }
  .gallery-cell { height: 200px; }
}
