/* ===== NOBLE STAY — 프리미엄 리조트 멤버십 랜딩 (1차시안) =====
   레퍼런스 톤: 소노호텔앤리조트 회원권 랜딩 — 웜 토프/브라운 + 아이보리 + 골드, 얇은 고급 타이포
   ※ 브랜드/카피/연락처는 전부 플레이스홀더 (클라 확정 시 교체) */

:root {
  --ink: #1c1a17;          /* 웜 차콜 (거의 블랙) */
  --ink-soft: #3a352e;
  --taupe: #6b5d4f;        /* 메인 토프/브라운 */
  --taupe-deep: #4a3f34;
  --gold: #b6975f;         /* 골드 악센트 (10%) */
  --gold-soft: #cbb184;
  --cream: #f7f3ec;        /* 아이보리 배경 (60%) */
  --cream-2: #efe9df;
  --line: #e2dcd0;
  --white: #ffffff;
  --muted: #8a8177;
  --shadow: 0 18px 50px -20px rgba(28, 26, 23, .28);
  --serif: "Playfair Display", "Noto Serif KR", serif;
  --sans: "Pretendard", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -.01em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 타이포 유틸 */
.eyebrow {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.sec-title { font-size: clamp(28px, 4vw, 42px); }
.sec-sub { color: var(--muted); font-size: 16px; max-width: 640px; margin: 14px auto 0; }
.center { text-align: center; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 2px; font-size: 15px; font-weight: 600;
  letter-spacing: .02em; cursor: pointer; border: 1px solid transparent;
  transition: all .25s ease; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--taupe-deep); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--taupe); }
.btn-block { width: 100%; justify-content: center; }

/* ===== 헤더 ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all .3s ease;
}
.header.scrolled {
  background: rgba(247, 243, 236, .96);
  backdrop-filter: saturate(140%) blur(4px);
  padding: 13px 0; box-shadow: 0 1px 0 var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .04em; color: var(--white); transition: color .3s; }
.logo b { color: var(--gold); font-weight: 700; }
.header.scrolled .logo { color: var(--ink); }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.9); transition: color .2s; }
.header.scrolled .nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--gold); }
.header.scrolled .nav a:hover { color: var(--gold); }
.header-cta { font-size: 14px; font-weight: 600; padding: 10px 20px; border: 1px solid rgba(255,255,255,.5); border-radius: 2px; color: var(--white); }
.header.scrolled .header-cta { border-color: var(--taupe); color: var(--taupe-deep); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--white); transition: .3s; }
.header.scrolled .hamburger span { background: var(--ink); }

/* ===== 히어로 ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(20,18,15,.72) 0%, rgba(20,18,15,.42) 55%, rgba(20,18,15,.25) 100%);
}
.hero-inner { max-width: 680px; padding: 100px 0 120px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: var(--white); font-size: clamp(38px, 6.2vw, 68px); margin: 20px 0 22px; line-height: 1.14; }
.hero p { font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.86); max-width: 520px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold-soft), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%,100%{ opacity:.3; transform: scaleY(.6);} 50%{ opacity:1; transform: scaleY(1);} }

/* ===== 신뢰 지표 바 ===== */
.stats { background: var(--ink); color: var(--white); padding: 44px 0; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); color: var(--gold-soft); line-height: 1; }
.stat .lbl { font-size: 13.5px; color: rgba(255,255,255,.66); margin-top: 10px; letter-spacing: .02em; }

/* ===== 공통 섹션 ===== */
.section { padding: 96px 0; }
.section.tint { background: var(--cream-2); }
.section-head { text-align: center; margin-bottom: 56px; }

/* 가치 카드 */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--white); padding: 40px 32px; border: 1px solid var(--line); border-radius: 3px; transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--gold); margin-bottom: 22px; }
.value-card h3 { font-size: 21px; margin-bottom: 12px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* 멤버십 등급 카드 */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 40px 32px;
  display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tier.featured h3, .tier.featured .price { color: var(--white); }
.tier .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--white); font-size: 11px; letter-spacing: .12em; padding: 6px 16px; border-radius: 2px; text-transform: uppercase; font-weight: 700; }
.tier .t-name { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.tier h3 { font-size: 27px; margin: 6px 0 4px; }
.tier .price { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.tier.featured .price { color: rgba(255,255,255,.6); }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.tier li { font-size: 14.5px; padding-left: 26px; position: relative; color: var(--ink-soft); }
.tier.featured li { color: rgba(255,255,255,.85); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* 혜택 비교표 */
.compare-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 17px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare thead th { background: var(--taupe-deep); color: var(--white); font-family: var(--serif); font-size: 16px; font-weight: 600; }
.compare thead th:first-child { background: var(--ink); text-align: left; }
.compare tbody td:first-child { text-align: left; font-weight: 600; color: var(--ink); background: var(--cream); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--gold); font-weight: 700; }
.compare .no { color: #c9c2b6; }

/* 리조트 갤러리 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: 3px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.g-item:hover img { transform: scale(1.07); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(20,18,15,.72)); }
.g-item .cap { position: absolute; left: 20px; bottom: 16px; z-index: 2; color: var(--white); }
.g-item .cap .k { font-size: 11px; letter-spacing: .2em; color: var(--gold-soft); text-transform: uppercase; }
.g-item .cap .t { font-family: var(--serif); font-size: 19px; margin-top: 3px; }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }

/* 후기 */
.testimonial { background: var(--taupe-deep); color: var(--white); }
.testimonial .quote { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); line-height: 1.5; max-width: 820px; margin: 0 auto; text-align: center; font-style: italic; }
.testimonial .who { text-align: center; margin-top: 26px; font-size: 14px; color: var(--gold-soft); letter-spacing: .05em; }

/* ===== 상담 폼 ===== */
.cta-section { background: linear-gradient(var(--cream), var(--cream-2)); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); max-width: 620px; margin: 0 auto; padding: 46px 42px; }
.form-card h2 { font-size: 28px; text-align: center; }
.form-card .sec-sub { margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--cream); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(182,151,95,.14); background: var(--white); }
.field textarea { resize: vertical; min-height: 92px; }
.agree { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--muted); margin: 6px 0 20px; }
.agree input { width: auto; margin-top: 4px; }
.agree a { color: var(--taupe); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success .mark { width: 62px; height: 62px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 30px; margin: 0 auto 18px; }
.form-success h3 { font-size: 23px; margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* ===== 푸터 ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 56px 0 40px; font-size: 13.5px; }
.footer .top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .logo { color: var(--white); font-size: 22px; }
.footer .fnav { display: flex; gap: 24px; }
.footer .fnav a { color: rgba(255,255,255,.7); }
.footer .fnav a:hover { color: var(--gold-soft); }
.footer .info { margin-top: 26px; line-height: 1.9; }
.footer .info b { color: rgba(255,255,255,.85); font-weight: 600; }
.footer .copy { margin-top: 22px; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ===== 하단 고정 CTA (모바일) ===== */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px -12px rgba(0,0,0,.2); }
.sticky-cta .row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; }
.sticky-cta a { padding: 15px 8px; text-align: center; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink); }
.sticky-cta a .ic { font-size: 17px; }
.sticky-cta a.main { background: var(--gold); color: #fff; }
.sticky-cta a.kakao { background: #fee500; color: #3c1e1e; }

/* ===== 스크롤 리빌 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 모바일 메뉴 ===== */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transform: translateY(-100%); transition: transform .4s ease; }
.mobile-menu.open { transform: none; }
.mobile-menu a { color: var(--white); font-family: var(--serif); font-size: 26px; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .close { position: absolute; top: 24px; right: 24px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .values, .tiers { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-item.wide, .g-item.tall { grid-column: span 1; grid-row: span 1; }
  .compare-wrap { overflow-x: auto; }
  table.compare { min-width: 560px; }
  .section { padding: 68px 0; }
  .sticky-cta { display: block; }
  body { padding-bottom: 62px; }
  .footer .top { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-inner { padding: 90px 0 110px; }
  .form-card { padding: 34px 22px; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
}
