/* ===========================================================
   pages.css — 페이지별 전용 블록
   =========================================================== */

/* ---------- 메인: 4단계 여정 ---------- */
.journey { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 640px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .journey { grid-template-columns: repeat(4, 1fr); } }

.journey__item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  counter-increment: step;
}
.journey__item::before {
  content: "0" counter(step);
  font-family: var(--font-en);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
}
.journey__item h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.journey__item p { color: var(--ink-soft); font-size: .88rem; margin: 0 0 14px; }
.journey__item a { margin-top: auto; font-size: .86rem; font-weight: 600; }

/* ---------- 골프 코스 카드 ---------- */
.golf-card { display: flex; flex-direction: column; }
.golf-card .card__media { aspect-ratio: 16 / 9; }
.golf-card__name { margin-bottom: 2px; font-size: 1.08rem; }
.golf-card__en {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-en);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--gold);
  text-transform: uppercase;
}
.golf-card .spec { margin-bottom: 16px; }
.golf-card__features {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

/* 거리 배지 */
.dist {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(201, 162, 39, .09);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--ink-soft);
}
.dist b { font-family: var(--font-en); font-size: .92rem; color: var(--gold-lt); }

/* ---------- 원본 자료 figure ---------- */
.doc-figure {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.doc-figure img { width: 100%; border-radius: var(--radius-sm); }
.doc-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}
.doc-figure--map img { background: #fff; }

/* ---------- 메뉴 ---------- */
.menu-cols { display: grid; gap: 22px; }
@media (min-width: 768px) { .menu-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.menu-group h3 {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: .95rem;
  letter-spacing: .06em;
}
.menu-group ul { display: grid; gap: 6px; }
.menu-group li {
  display: flex;
  gap: 8px;
  font-size: .89rem;
  color: var(--ink-soft);
}
.menu-group li span { color: var(--muted); font-size: .8rem; }

/* ---------- 혜택 ---------- */
.benefit {
  position: relative;
  padding: 26px 22px;
  background: linear-gradient(155deg, rgba(201, 162, 39, .14), rgba(6, 33, 26, .9));
  border: 1px solid var(--gold-dk);
  border-radius: var(--radius);
  text-align: center;
}
.benefit__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  background: var(--gold);
  border-radius: 999px;
  color: #12150d;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.benefit__amount {
  font-family: var(--font-en);
  font-size: clamp(2.1rem, 9vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-lt);
}
.benefit__desc { margin: 8px 0 0; font-size: .95rem; color: var(--ink); }
.benefit__cond { margin-top: 12px; font-size: .78rem; color: var(--muted); }

/* ---------- 오시는 길 ---------- */
.route { display: grid; gap: 12px; }
@media (min-width: 640px) { .route { grid-template-columns: repeat(2, 1fr); } }
.route__item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.route__from { font-size: .84rem; color: var(--muted); }
.route__val {
  margin: 6px 0 2px;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-lt);
}
.route__time { font-size: .88rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  min-height: 56px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq p {
  padding: 0 18px 18px;
  margin: 0;
  color: var(--ink-soft);
  font-size: .89rem;
}

/* ---------- 시설 아이템 ---------- */
.amenity {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.amenity__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(201, 162, 39, .1);
  border-radius: 50%;
  color: var(--gold);
}
.amenity__icon svg { width: 20px; height: 20px; }
.amenity h3 { margin: 6px 0 6px; font-size: 1rem; }
.amenity p { margin: 0; font-size: .87rem; color: var(--ink-soft); }

/* ---------- 영상 ---------- */
.video-block {
  position: relative;
  max-width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}
/* width/height 속성으로 비율을 유지한다 (영상마다 비율이 달라 고정하지 않음) */
.video-block video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.video-block__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 13px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: .85rem;
}
.video-block__meta .meta-sub { color: var(--muted); font-size: .78rem; }
/* 원본 해상도가 낮은 영상은 과도하게 늘리지 않는다 */
.video-block--sm { max-width: 680px; }

/* ---------- 페이지 상단 간이 히어로 ---------- */
.page-head {
  position: relative;
  padding-block: 54px 40px;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(11, 58, 46, .95), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 768px) { .page-head { padding-block: 76px 58px; } }
.breadcrumb { margin-bottom: 14px; font-size: .8rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-lt); }

/* ---------- 상단 배경 이미지 변형 ---------- */
.page-head--media { overflow: hidden; isolation: isolate; }
.page-head__media { position: absolute; inset: 0; z-index: -1; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-head--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,16,12,.55) 0%, rgba(7,16,12,.82) 100%);
}
.page-head > .container { position: relative; z-index: 1; }
