/* ============================================================
   NODE Space — 예약 사이트
   nodeinc.co.kr 과 같은 팔레트·타이포를 쓴다.
   ============================================================ */

:root {
  /* 브라우저 기본 UI(달력 아이콘·셀렉트 화살표·스크롤바)를 다크로 렌더링시킨다.
     이게 없으면 date 입력의 달력 아이콘이 검게 나와 어두운 배경에서 안 보인다. */
  color-scheme: dark;

  --ink:        #1c2024;
  --ink-soft:   #22272b;
  --ink-card:   #262c31;
  --line:       rgba(255,255,255,0.09);
  --line-strong:rgba(255,255,255,0.16);
  --paper:      #eceef0;
  --mute:       rgba(236,238,240,0.62);
  --mute-2:     rgba(236,238,240,0.52);
  --signal:     #5bbf94;
  --signal-dim: rgba(91,191,148,0.16);
  --signal-soft:rgba(91,191,148,0.07);
  --accent:     #8fa8c4;
  --danger:     #e08078;
  --maxw:       1080px;
  --nav-h:      64px;
  --mono:       'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  background-image:
    radial-gradient(1200px 600px at 15% -5%, rgba(91,191,148,0.06), transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, rgba(143,168,196,0.05), transparent 55%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 560px) { .wrap { padding: 0 18px; } }

.glow {
  background: linear-gradient(120deg, var(--signal), #7fd0ac);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .glow { background: none; color: var(--signal); }
}

/* ── NAV ─────────────────────────────────── */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100% - var(--maxw)) / 2 + 32px));
  backdrop-filter: blur(12px);
  background: rgba(28,32,36,0.82);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper);
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .2em;
}
.brand span.sub { color: var(--signal); font-weight: 500; font-size: 12px; letter-spacing: .1em; }
.brand .sig {
  position: relative; width: 17px; height: 17px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand .sig::before, .brand .sig::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--signal);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.brand .sig::before { width: 12px; height: 12px; opacity: .55; }
.brand .sig::after  { width: 17px; height: 17px; opacity: .25; }
.brand .sig i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 10px var(--signal); position: relative; z-index: 1;
}
.nav-right { display: flex; align-items: center; gap: 24px; }
/* :not(.btn) — 이 규칙이 .btn-primary 보다 특이도가 높아
   버튼 글자색까지 덮어버리던 문제가 있었다. */
.nav-right a:not(.btn) {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-size: 13.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper); text-decoration: none; transition: color .2s, opacity .2s;
  opacity: .88;
}
.nav-right a:not(.btn):hover { color: #fff; opacity: 1; }
@media (max-width: 720px) {
  .nav-right { gap: 14px; }
  .nav-right a:not(.btn) { font-size: 12px; letter-spacing: .06em; }
  .nav-right a.hide-sm { display: none; }
}

/* ── 버튼 ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; border-radius: 3px; border: 1px solid transparent;
  cursor: pointer; transition: all .22s;
}
.btn-primary { background: var(--signal); color: #08150f; font-weight: 700; }
.btn-primary:hover { background: #6bcfa3; box-shadow: 0 8px 28px var(--signal-dim); }
.btn-primary[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-ghost { border-color: var(--line-strong); color: var(--paper); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }

/* ── 히어로 ──────────────────────────────── */
.hero {
  position: relative; padding: calc(var(--nav-h) + 96px) 0 88px;
  border-bottom: 1px solid var(--line); overflow: hidden;
  min-height: 72vh; display: flex; flex-direction: column; justify-content: center;
}
/* nodeinc.co.kr 히어로와 같은 노드 네트워크 */
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(900px 380px at 80% -10%, var(--signal-dim), transparent 60%);
}
/* .hero 가 column flex 라서 .wrap 의 margin:0 auto 가 cross-axis stretch 를 끈다.
   그 결과 내용 폭(≈644px)으로 쪼그라들어 가운데 뭉쳐 보였다. */
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.eyebrow {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600; font-size: 11.5px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--signal);
  display: flex; align-items: center; gap: 13px; margin-bottom: 22px; flex-wrap: wrap;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--signal); opacity: .6; flex-shrink: 0; }
.hero h1 {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 800;
  font-size: clamp(36px, 6.4vw, 72px); line-height: 1.0; letter-spacing: -.02em; margin-bottom: 20px;
}
/* max-width 는 720px 이상이어야 첫 문장("…7개 회의실을 운영합니다.")이 한 줄에 들어간다.
   680px 에서는 10px 이 모자라 "운영합니다." 만 다음 줄로 넘어갔다. */
.hero .lead { font-size: clamp(15px, 1.9vw, 19px); color: var(--mute); max-width: 720px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* ── 섹션 ────────────────────────────────── */
section.block { padding: 84px 0; position: relative; }
.label {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600; font-size: 11.5px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--signal); margin-bottom: 20px;
}
.section-title {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 700;
  font-size: clamp(26px, 4.4vw, 42px); line-height: 1.08; letter-spacing: -.01em; margin-bottom: 20px;
}
.section-body { max-width: 640px; color: var(--mute); font-size: 16px; line-height: 1.85; }
.divider { height: 1px; background: var(--line); }

/* ── 회의실 카드 ─────────────────────────── */
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 820px) { .rooms { grid-template-columns: 1fr; } }

.room {
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, rgba(91,191,148,0.03), transparent);
  transition: border-color .3s, transform .3s;
}
.room:hover { border-color: var(--signal); transform: translateY(-3px); }

.room-photo {
  position: relative; aspect-ratio: 16 / 10; background: var(--ink-card); overflow: hidden;
}
.room-photo img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.room-photo .none {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 9px; color: var(--mute-2); font-size: 12.5px;
}
.room-photo .tag {
  white-space: nowrap;
  position: absolute; top: 13px; left: 13px; z-index: 2;
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: .04em;
  background: rgba(18,21,26,.82); border: 1px solid var(--line-strong);
  padding: 5px 11px; border-radius: 20px; color: var(--signal);
}
.room-photo .shots {
  position: absolute; right: 13px; bottom: 13px; z-index: 2;
  font-family: var(--mono); font-size: 10.5px; color: var(--paper);
  background: rgba(18,21,26,.78); border: 1px solid var(--line-strong);
  padding: 3px 9px; border-radius: 20px;
}

.room-body { padding: 22px 22px 24px; }
.room-body h3 {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 700; font-size: 20px;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.room-body h3 .note {
  font-family: 'Noto Sans KR', sans-serif; font-weight: 400; font-size: 12px; color: var(--mute);
  border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px;
  /* DB 문구("이동식 가벽")가 뱃지 안에서 두 줄로 쪼개지지 않게 */
  white-space: nowrap;
}
.room-body .cap { font-size: 12.5px; color: var(--mute-2); margin-top: 5px; letter-spacing: .03em; }

.rspec {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; margin-top: 16px;
}
.rspec > div { background: var(--ink-card); padding: 9px 12px; }
.rspec .k {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-size: 11px; letter-spacing: .02em;
  color: var(--mute-2); margin-bottom: 3px;
}
.rspec .v { font-size: 13px; color: var(--paper); font-weight: 500; }

.rprice { display: flex; gap: 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rprice .pc { display: flex; flex-direction: column; gap: 1px; }
.rprice .pl {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-size: 11px; letter-spacing: .02em;
  color: var(--mute-2);
}
.rprice .pv { font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-size: 17px; font-weight: 700; color: var(--signal); }
.rprice .pv small { font-size: 11.5px; color: var(--mute); font-weight: 400; margin-left: 2px; }

/* ── 요금표 ──────────────────────────────── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 36px; }
table.price { width: 100%; min-width: 520px; border-collapse: collapse; }
table.price th, table.price td {
  text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; white-space: nowrap;
}
table.price th {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--mute-2);
}
table.price td { color: var(--mute); }
table.price td:first-child { color: var(--paper); font-weight: 500; }
table.price .p { color: var(--signal); font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600; }

/* ── 부가서비스 ──────────────────────────── */
.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 760px) { .addons { grid-template-columns: 1fr; } }
.addon-card {
  border: 1px solid var(--line); border-radius: 5px; padding: 24px 24px;
  background: linear-gradient(180deg, rgba(91,191,148,0.03), transparent);
}
.addon-card h4 {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.addon-card h4 .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 8px var(--signal); flex-shrink: 0;
}
.addon-card h4 .free {
  margin-left: auto; font-size: 11px; letter-spacing: .02em; color: var(--signal);
  border: 1px solid var(--signal-dim); background: var(--signal-dim);
  border-radius: 20px; padding: 2px 9px;
}
.addon-card ul { list-style: none; }
.addon-card li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px;
}
.addon-card li:first-child { border-top: 0; }
.addon-card .it { color: var(--mute); }
.addon-card .co {
  color: var(--paper); font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600;
  font-size: 13px; white-space: nowrap;
}
.addon-card .co.free { color: var(--signal); }
.addon-card .nt { font-size: 12px; color: var(--mute-2); margin-top: 12px; }

/* ── 이용 절차 ───────────────────────────── */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
       border: 1px solid var(--line); margin-top: 44px; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }
.how-step { background: var(--ink); padding: 30px 22px; }
.how-step .n {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 800; font-size: 12px;
  letter-spacing: .18em; color: var(--signal); margin-bottom: 14px;
}
.how-step h4 { font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.how-step p { font-size: 13px; color: var(--mute); line-height: 1.65; }

/* ── 푸터 ────────────────────────────────── */
footer.site { border-top: 1px solid var(--line); padding: 48px 0 36px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-about { color: var(--mute); font-size: 13.5px; line-height: 1.75; max-width: 380px; margin-top: 13px; }
.foot-col h5 {
  font-family: 'Archivo', 'Noto Sans KR', sans-serif; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mute-2); margin-bottom: 13px;
}
.foot-col a { display: block; color: var(--mute); text-decoration: none; font-size: 13.5px; padding: 4px 0; }
.foot-col a:hover { color: var(--paper); }
.foot-col address { font-style: normal; color: var(--mute); font-size: 13.5px; line-height: 1.7; padding: 4px 0; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; margin-top: 34px; border-top: 1px solid var(--line);
}
.foot-bottom .meta {
  font-size: 11.5px; color: var(--mute-2); letter-spacing: .05em; font-family: 'Archivo', 'Noto Sans KR', sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .room, .btn { transition: none; }
  .room:hover { transform: none; }
}
