:root {
  --ivory: #faf7f2;      /* 페이지 배경 */
  --charcoal: #2b2926;   /* 본문 텍스트 */
  --gold: #b08d57;       /* 액센트 (CTA, 가격) */
  --gold-dark: #96754a;  /* CTA hover/눌림 */
  --white: #ffffff;
  --line: #e5ded2;       /* 구분선 */
  --serif: "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
  --radius: 14px;
  --maxw: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

section { padding: 64px 0; }

.sec-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-block { width: 100%; }

/* ---------- 1. 히어로 ---------- */
#hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../assets/photos/hero.jpg") center 30% / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(250,247,242,.25) 0%,
    rgba(250,247,242,.55) 55%,
    var(--ivory) 96%);
}
.hero-inner {
  position: relative;
  width: 100%;
  text-align: center;
  padding-bottom: 56px;
}
.hero-logo { width: 210px; height: auto; margin: 0 auto 28px; }
#hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 6.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hero-sub { margin-top: 14px; font-size: 1rem; color: #6b665e; }
.hero-price { margin: 18px 0 26px; font-size: 1.15rem; }
.hero-price s { color: #9b958a; margin-right: 10px; }
.hero-price strong {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-dark);
}

/* ---------- 2. 가격 ---------- */
#price { padding-top: 8px; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(43,41,38,.06);
}
.price-line { color: #9b958a; }
.price-main {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.1;
  margin: 6px 0 20px;
}
.price-main span { font-size: 1.6rem; }
.price-conditions {
  list-style: none;
  margin-bottom: 28px;
  color: #55504a;
}
.price-conditions li { padding: 7px 0; border-top: 1px solid var(--line); }
.price-conditions li:first-child { border-top: 0; font-weight: 700; color: var(--charcoal); }

/* ---------- 3. 포함 내역 ---------- */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.inc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.inc svg {
  width: 30px; height: 30px;
  fill: none; stroke: var(--gold); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 12px;
}
.inc h3 { font-size: 1rem; margin-bottom: 4px; }
.inc p { font-size: .85rem; color: #6b665e; line-height: 1.5; }

/* ---------- 4. 포트폴리오 ---------- */
#portfolio { padding-bottom: 32px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 8px;
}
.pf-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
}

/* ---------- 5. 이용 흐름 ---------- */
.flow-steps {
  list-style: none;
  display: grid;
  gap: 18px;
}
.flow-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.flow-steps span {
  grid-row: 1 / 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow-steps h3 { font-size: 1.02rem; }
.flow-steps p { font-size: .88rem; color: #6b665e; }

/* ---------- 6. FAQ ---------- */
#faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
#faq summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.3rem;
}
#faq details[open] summary::after { content: "−"; }
#faq details p {
  padding: 0 20px 18px;
  color: #55504a;
  font-size: .93rem;
}

/* ---------- 7. 예약 폼 ---------- */
#booking { background: var(--white); border-top: 1px solid var(--line); }
.booking-note { text-align: center; color: #6b665e; margin: -24px 0 30px; }
#booking-form { display: grid; gap: 18px; }
#booking-form label {
  display: grid;
  gap: 7px;
  font-size: .92rem;
  font-weight: 600;
}
#booking-form input, #booking-form select, #booking-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--charcoal);
  width: 100%;
}
#booking-form input:focus, #booking-form select:focus, #booking-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}
#booking-form small { font-weight: 400; color: #8a847b; }
#booking-form .invalid { border-color: #c0392b; }
.form-error {
  background: #fdecea;
  border: 1px solid #f2b8b5;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .92rem;
  color: #8c2f28;
}
.form-error a { color: inherit; font-weight: 700; }
.form-success {
  text-align: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 24px;
}
.fs-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }

/* ---------- 푸터 ---------- */
footer {
  text-align: center;
  padding: 48px 20px 130px;
  color: #6b665e;
  font-size: .9rem;
}
footer img { margin: 0 auto 16px; opacity: .8; }
footer a { color: inherit; }
.footer-insta { margin-top: 6px; }

/* ---------- 모바일 고정 CTA ---------- */
#sticky-cta {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(43,41,38,.25);
}
#sticky-cta[hidden] { display: none; }

/* ---------- 데스크톱 ---------- */
@media (min-width: 768px) {
  section { padding: 88px 0; }
  .sec-title { font-size: 2rem; }
  .includes-grid { grid-template-columns: repeat(3, 1fr); }
  .pf-grid { grid-template-columns: repeat(4, 1fr); }
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
  .flow-steps li { grid-template-columns: 44px 1fr; }
  footer { padding-bottom: 48px; }
  #sticky-cta { display: none !important; }
}
