/* ============================================================
   CASSIA SOKCHO Owners Membership Landing
   personal(개인용) / corporate(법인용) 공용 스타일
   ============================================================ */
:root {
  --gold: #d9a821;
  --gold-bright: #f3c63f;
  --gold-soft: #f8ecca;
  --navy: #0f2036;
  --navy-2: #16304f;
  --ink: #232b33;
  --muted: #68727e;
  --cream: #faf8f3;
  --stone: #f1ede4;
  --line: #e5e0d4;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 700; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }

/* ---------- 공통 타이포 ---------- */
.sec-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-lead {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 8px;
}
h2 {
  font-size: clamp(1.45rem, 4.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.sec-intro { color: var(--muted); margin-bottom: 28px; }
.note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
}
.note li { padding-left: 10px; position: relative; margin-top: 4px; }
.note li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* ---------- 리빌 모션 ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  isolation: isolate;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 18, 30, 0.42) 0%, rgba(10, 18, 30, 0.18) 38%, rgba(10, 18, 30, 0.78) 100%);
}
.hero-top {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: center; padding: 22px 20px;
}
.hero-top img { height: 34px; width: auto; }
.hero-inner { padding: 0 24px 46px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold-bright); margin-bottom: 14px;
}
.hero-pain {
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  font-weight: 400; line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(1.7rem, 6.4vw, 2.5rem);
  font-weight: 800; line-height: 1.32; letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.hero h1 .gold { color: var(--gold-bright); }
.hero-sub { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}
.chip small { font-weight: 400; opacity: 0.85; }
.hero-cta { display: flex; gap: 10px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1rem; font-weight: 700;
  padding: 15px 22px; border-radius: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex: 1; text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold-bright); color: #241c05; box-shadow: 0 6px 18px rgba(217, 168, 33, 0.35); }
.btn-dark { background: rgba(15, 32, 54, 0.85); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-line { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }

/* ---------- 통계 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 12px; text-align: center;
}
.stat .num {
  font-size: clamp(1.3rem, 4.5vw, 1.7rem); font-weight: 800; color: var(--navy);
  letter-spacing: -0.01em; line-height: 1.2;
}
.stat .num .unit { font-size: 0.72em; font-weight: 700; }
.stat .lbl { font-size: 0.78rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ---------- 가로 바 차트 ---------- */
.hbar-chart { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.hbar-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.hbar-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 16px; }
.hbar { display: grid; grid-template-columns: 52px 1fr 50px; align-items: center; gap: 10px; margin-top: 10px; }
.hbar .name { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.hbar .track { background: var(--stone); border-radius: 6px; height: 14px; overflow: hidden; }
.hbar .fill {
  height: 100%; width: 0; border-radius: 6px;
  background: linear-gradient(90deg, #c3d4e2, #9cb8cd);
  transition: width 1.1s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.hbar.hl .name { color: var(--navy); font-weight: 800; }
.hbar.hl .fill { background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.hbar .val { font-size: 0.82rem; font-weight: 700; color: var(--muted); text-align: right; }
.hbar.hl .val { color: var(--gold); }
.chart-src { font-size: 0.72rem; color: #9aa3ad; margin-top: 14px; }

/* ---------- 미니 추이 ---------- */
.trend { display: flex; align-items: flex-end; gap: 14px; height: 120px; margin-top: 18px; }
.trend .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.trend .bar { width: 100%; max-width: 84px; border-radius: 8px 8px 4px 4px; background: #d8e2ea; height: 0; transition: height 1s cubic-bezier(0.22, 0.8, 0.3, 1); }
.trend .col:last-child .bar { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); }
.trend .v { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.trend .y { font-size: 0.75rem; color: var(--muted); }

/* ---------- 30박 / 20박 구성 스택바 ---------- */
.nights-bar { display: flex; border-radius: 10px; overflow: hidden; height: 52px; margin: 20px 0 10px; }
.nights-bar .seg { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); line-height: 1.25; }
.nights-bar .seg b { font-size: 0.95rem; }
.nights-bar .seg span { font-size: 0.7rem; opacity: 0.9; }
.seg-week { background: var(--navy-2); }
.seg-peak { background: var(--gold); color: #241c05 !important; }
.seg-peak b, .seg-peak span { color: #241c05; }

/* ---------- 혜택 행 ---------- */
.benefit-rows { margin-top: 20px; display: grid; gap: 10px; }
.benefit {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 18px;
}
.benefit .k { font-size: 0.92rem; font-weight: 600; }
.benefit .k small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.benefit .v { font-size: 1.15rem; font-weight: 800; color: var(--gold); white-space: nowrap; }

/* ---------- 카드 그리드 ---------- */
.cards { display: grid; gap: 12px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .cards.c3 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; color: var(--ink);
}
.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.88rem; color: var(--muted); }
.card .tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}
.tag-named { background: var(--gold-soft); color: #8a6a10; }
.tag-open { background: #e3ecf5; color: var(--navy-2); }
.tag-both { background: var(--stone); color: var(--muted); }

/* ---------- 갤러리 ---------- */
.gallery-wide { border-radius: var(--radius); overflow: hidden; position: relative; margin-bottom: 12px; }
.gallery-wide img { width: 100%; height: 300px; object-fit: cover; }
.gallery-wide .cap, .gtile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 30, 0.72));
  color: var(--white); font-size: 0.85rem; font-weight: 600;
}
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gtile { border-radius: 12px; overflow: hidden; position: relative; }
.gtile img { width: 100%; height: 150px; object-fit: cover; }
.gtile .cap { padding: 20px 12px 10px; font-size: 0.78rem; }

/* ---------- 객실 카드 ---------- */
.room-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 16px;
}
.room-card img { width: 100%; height: 210px; object-fit: cover; }
.room-body { padding: 20px; }
.room-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.room-head h3 { font-size: 1.15rem; font-weight: 800; }
.room-head .price { font-size: 1.15rem; font-weight: 800; color: var(--gold); }
.room-head .price small { font-size: 0.72em; font-weight: 600; color: var(--muted); }
.room-meta { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.room-meta b { color: var(--ink); font-weight: 600; }

/* ---------- 아코디언 ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.acc details { border-top: 1px solid var(--line); }
.acc details:first-child { border-top: none; }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px;
  font-size: 0.95rem; font-weight: 600; line-height: 1.5;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--stone); color: var(--muted);
  font-size: 1.05rem; font-weight: 500;
  transition: transform 0.25s ease;
}
.acc details[open] summary::after { content: "\2212"; background: var(--gold-soft); color: #8a6a10; }
.acc .acc-body { padding: 0 20px 20px; font-size: 0.9rem; color: #47525d; line-height: 1.7; }
.acc .acc-body p + p { margin-top: 8px; }

/* ---------- 재무 3단계 ---------- */
.flow { display: grid; gap: 10px; margin: 24px 0; }
.flow-step {
  display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.flow-step .ico {
  width: 74px; height: 74px; border-radius: 12px;
  background: var(--navy); color: var(--gold-bright);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; gap: 4px;
}
.flow-step .ico svg { width: 26px; height: 26px; }
.flow-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.flow-step p { font-size: 0.87rem; color: var(--muted); }

/* ---------- 비교 테이블 ---------- */
.cmp-wrap { overflow-x: auto; margin-top: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.85rem; min-width: 480px; color: var(--ink); }
.cmp th, .cmp td { padding: 13px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.cmp thead th { border-top: none; background: var(--stone); font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.cmp .hl-col { background: #fdf7e7; font-weight: 600; color: var(--ink); }
.cmp td:first-child { color: var(--muted); font-weight: 600; white-space: nowrap; }

/* ---------- 채용공고 목업 ---------- */
.job-mock {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: 0 10px 30px rgba(15, 32, 54, 0.07);
}
.job-mock .jm-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.job-mock .jm-co { font-size: 0.8rem; color: var(--muted); }
.job-mock .jm-title { font-size: 1.05rem; font-weight: 800; margin-top: 2px; }
.job-mock .jm-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.job-mock li { font-size: 0.88rem; padding: 5px 0 5px 22px; position: relative; color: #47525d; }
.job-mock li::before {
  content: ""; position: absolute; left: 4px; top: 0.95em;
  width: 5px; height: 5px; border-radius: 50%; background: #c9c2b2;
}
.job-mock li.hl {
  background: var(--gold-soft); border-radius: 8px; padding: 9px 10px 9px 26px;
  font-weight: 700; color: #6b520c; margin-top: 8px;
}
.job-mock li.hl::before { left: 10px; top: 1.15em; background: var(--gold); }
.job-mock li.hl small { display: block; font-weight: 500; font-size: 0.78rem; color: #8a6a10; }

/* ---------- 배분 예시 스택바 ---------- */
.alloc-bar { display: flex; border-radius: 10px; overflow: hidden; height: 44px; margin: 18px 0 12px; }
.alloc-bar .seg { display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; color: var(--white); }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 0.8rem; color: var(--muted); }
.alloc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }

/* ---------- 담당자 카드 ---------- */
.contact-card {
  background: var(--navy); color: var(--white);
  border-radius: 18px; padding: 30px 24px; text-align: center;
}
.contact-card .cc-label { font-size: 0.8rem; color: var(--gold-bright); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; }
.contact-card .cc-name { font-size: 1.5rem; font-weight: 800; margin-bottom: 2px; }
.contact-card .cc-role { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 6px; }
.contact-card .cc-phone { font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; letter-spacing: 0.03em; }
.contact-card .hero-cta { max-width: 420px; margin: 0 auto; }

/* ---------- 하단 고정바 ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 1px;
  transform: translateY(110%); transition: transform 0.35s ease;
  box-shadow: 0 -6px 24px rgba(15, 32, 54, 0.18);
}
.sticky-bar.show { transform: none; }
.sticky-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 10px; font-size: 0.98rem; font-weight: 700;
}
.sticky-call { background: var(--gold-bright); color: #241c05; }
.sticky-sms { background: var(--navy); color: var(--white); }
body { padding-bottom: 0; }
body.has-sticky { padding-bottom: 58px; }

/* ---------- 푸터 ---------- */
footer { background: #0b1828; color: rgba(255, 255, 255, 0.55); padding: 44px 0 96px; }
footer .container { max-width: var(--maxw); }
footer img { height: 30px; width: auto; margin-bottom: 20px; opacity: 0.85; }
footer .disc { font-size: 0.76rem; line-height: 1.7; }
footer .disc li { padding-left: 10px; position: relative; margin-top: 5px; }
footer .disc li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
footer .copy { font-size: 0.72rem; margin-top: 22px; color: rgba(255, 255, 255, 0.35); }

/* ---------- 섹션 배경 변주 ---------- */
.sec-white { background: var(--white); }
.sec-stone { background: var(--stone); }
.sec-navy { background: var(--navy); color: var(--white); }
.sec-navy h2 { color: var(--white); }
.sec-navy .sec-lead { color: rgba(255, 255, 255, 0.7); }
.sec-navy .note { color: rgba(255, 255, 255, 0.55); }

/* ---------- 법인용 변주 ---------- */
body.corp .hero-shade {
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.5) 0%, rgba(8, 14, 24, 0.22) 40%, rgba(8, 14, 24, 0.84) 100%);
}
body.corp .stat { border-color: #d8d2c2; }

/* ---------- 풀블리드 ---------- */
.fullbleed { position: relative; }
.fullbleed img { width: 100%; height: 340px; object-fit: cover; }
.fullbleed .fb-cap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 24px 30px;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 18, 30, 0.72));
  color: var(--white);
}
.fullbleed .fb-cap b { font-size: 1.2rem; font-weight: 800; }
.fullbleed .fb-cap span { font-size: 0.85rem; opacity: 0.85; margin-top: 4px; }

@media (min-width: 760px) {
  .gallery-wide img { height: 380px; }
  .gtile img { height: 190px; }
  .hero { min-height: 88vh; }
}
