/* ==========================================================================
   클럽아이투어 - 태국 골프 유니랜드 홈페이지 공통 스타일
   색상 값은 아래 변수만 바꾸면 전체 톤을 조정할 수 있습니다.
   ========================================================================== */

:root {
  /* 딥그린 대신 네이비+골드 체계로 변경 (besidectx.co.kr 참고).
     사용자 지정 레퍼런스(#031d2d) 방향으로 한 단계 더 눌러 어둡게 조정 */
  --color-primary-deep: #0f2b40;
  --color-primary: #2c5b81;
  --color-primary-light: #e9eef3;
  --color-gold: #c9a24b;
  --color-gold-light: #f4e9d0;
  --color-navy: #071f31;
  --color-ivory: #faf8f3;
  --color-white: #ffffff;
  --color-text: #1c242e;
  --color-text-light: #5c6672;
  --color-border: #e3ded1;

  --font-base: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    "Malgun Gothic", sans-serif;

  --header-height: 72px;
  --max-width: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  /* 채도 낮고 타이트한 그림자: 색이 도는 넓은 그림자보다 무게감 있게 보임 */
  --shadow-soft: 0 10px 24px -8px rgba(8, 16, 24, 0.35);
  --shadow-strong: 0 20px 45px -12px rgba(6, 13, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16.5px;
  color: var(--color-text);
  background: var(--color-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: page-fade-in 0.45s ease both;
  /* 한글 단어(조사 포함)가 아무 글자에서나 끊기지 않도록 */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* opacity만 사용 (transform을 쓰면 body가 새로운 containing block이 되어
   내부의 position:fixed 요소, 특히 라이트박스가 화면이 아닌 body 기준으로
   어긋나게 배치되는 문제가 생김) */
@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.is-leaving {
  opacity: 0;
  transition: opacity 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
  body.is-leaving {
    transition: none;
  }
  .lightbox,
  .lightbox-stage {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-home .hero-content h1,
  .hero-home .hero-content .lead {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- 스크롤 리빌: 챕터가 화면에 들어올 때 아래에서 떠오르며 등장 (besidectx.co.kr 참고) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  color: var(--color-primary-deep);
}

p {
  margin: 0;
}

/* 단락 가독성을 위해 의미 단위로 넣은 줄바꿈. 모바일에서는 화면 폭에 맞게
   자연스럽게 흐르도록 숨긴다 (좁은 화면에서 억지로 끊기면 오히려 어색함) */
@media (max-width: 640px) {
  br.br-desktop {
    display: none;
  }
}

/* br-desktop의 반대: 평소엔 숨겨뒀다가 모바일 폭에서만 의미 단위로 줄을 끊는다 */
br.br-mobile {
  display: none;
}

@media (max-width: 640px) {
  br.br-mobile {
    display: inline;
  }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  /* 화면이 넓어질수록 좌우 여백도 함께 넉넉해지도록 (최소 20px, 최대 64px) */
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- 헤더 ---------- */

.top-utility-bar {
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 0;
}

.top-utility-bar strong {
  color: var(--color-primary-deep);
}

.top-utility-bar .divider {
  margin: 0 10px;
  color: rgba(15, 29, 69, 0.35);
}

@media (max-width: 640px) {
  .top-utility-bar {
    font-size: 0.7rem;
    padding: 6px 0;
  }

  .top-utility-bar .divider {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.4);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary-deep);
  white-space: nowrap;
}

.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand .brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  border-color: var(--color-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary-deep);
  cursor: pointer;
  padding: 4px 6px;
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s, background 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary-deep);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:active {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-gold:hover {
  background: #b78f38;
}

.btn-line {
  background: #06c755;
  color: var(--color-white);
}

.btn-line:hover {
  background: #05a948;
}

/* besidectx.co.kr 참고: 금속 느낌 그라데이션 + 테두리를 한 바퀴 도는
   빛줄기가 페이지 로드 시 한 번만 지나가는 절제된 인터랙션 (반복 없음) */
@property --pipe-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.btn-shine {
  position: relative;
  background: linear-gradient(160deg, #e6cf95, #c9a24b 45%, #9c7a35);
  border-width: 1px;
  /* 어두운 브론즈 톤 대신 밝은 골드 프레임 (버튼 자체의 빛줄기 하이라이트와 같은 톤) */
  border-color: rgba(244, 214, 149, 0.9);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}

.btn-shine:hover {
  background: linear-gradient(160deg, #f0dfae, #d4ac57 45%, #a8843c);
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--pipe-angle),
    transparent 0%,
    transparent 75%,
    rgba(244, 214, 149, 0.95) 88%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pipeGlowChase 2.6s ease-out 0.6s 1 forwards;
}

@keyframes pipeGlowChase {
  to {
    --pipe-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine::after,
  .price-card.highlight::after {
    animation: none;
  }
}

.btn-outline {
  background: transparent;
  border-width: 1px;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-light);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 9px 22px;
  font-size: 1.05rem;
}

/* ---------- 플로팅 문의 버튼 ---------- */

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.floating-cta .fab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-strong);
}

.fab-kakao {
  background: #fee500;
  color: #391b1b;
}

.fab-line {
  background: #06c755;
  color: var(--color-white);
}

.fab-inquiry {
  background: linear-gradient(160deg, #e6cf95, #c9a24b 45%, #9c7a35);
  color: var(--color-navy);
}

.fab-inquiry:hover {
  background: linear-gradient(160deg, #f0dfae, #d4ac57 45%, #a8843c);
}

/* 카카오톡·라인은 인지도 높은 브랜드 아이콘이라 텍스트 없이 원형 아이콘으로 */
.floating-cta .fab.fab-icon {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  transition: transform 0.15s ease;
}

.floating-cta .fab.fab-icon:hover {
  transform: scale(1.06);
}

/* 빠른견적문의(전화문의)·유니챗은 평소엔 원형 아이콘, 호버 시 옆으로 펴지며 라벨 노출 */
.floating-cta .fab.fab-inquiry.fab-icon,
.floating-cta .fab.fab-chatbot.fab-icon {
  overflow: hidden;
  gap: 0;
  transition: width 0.3s ease, border-radius 0.3s ease;
}

.floating-cta .fab.fab-inquiry.fab-icon .fab-label,
.floating-cta .fab.fab-chatbot.fab-icon .fab-label {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.3s ease, opacity 0.2s ease, margin-left 0.3s ease;
}

.floating-cta .fab.fab-inquiry.fab-icon:hover,
.floating-cta .fab.fab-chatbot.fab-icon:hover {
  width: 146px;
  border-radius: var(--radius);
  justify-content: flex-start;
  padding-left: 14px;
  transform: none;
}

.floating-cta .fab.fab-inquiry.fab-icon:hover .fab-label,
.floating-cta .fab.fab-chatbot.fab-icon:hover .fab-label {
  max-width: 108px;
  margin-left: 6px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta .fab.fab-inquiry.fab-icon,
  .floating-cta .fab.fab-inquiry.fab-icon .fab-label,
  .floating-cta .fab.fab-chatbot.fab-icon,
  .floating-cta .fab.fab-chatbot.fab-icon .fab-label {
    transition: none;
  }
}

/* ---------- 빠른안내 챗봇 (규칙 기반, FAQ 매칭) ---------- */

.fab-chatbot {
  background: linear-gradient(160deg, #2c5b81, #14324a 45%, #071f31);
  color: var(--color-white);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.fab-chatbot:hover {
  border-color: var(--color-gold);
}

.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 266px;
  z-index: 210;
  width: 320px;
  max-width: calc(100vw - 44px);
  max-height: 60vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.chatbot-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(160deg, #2c5b81, #14324a 45%, #071f31);
  color: var(--color-white);
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.92rem;
}

.chatbot-header button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}

.chatbot-header button:hover {
  color: var(--color-white);
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--color-ivory);
}

.chatbot-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.55;
}

.chatbot-bubble-bot {
  align-self: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.chatbot-bubble-user {
  align-self: flex-end;
  background: linear-gradient(160deg, #2c5b81, #14324a 45%, #071f31);
  color: var(--color-white);
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chatbot-quick-btn {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
}

.chatbot-quick-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.chatbot-followups {
  margin-top: -2px;
}

.chatbot-nudge {
  align-self: stretch;
  background: linear-gradient(160deg, #2c5b81, #14324a 45%, #071f31);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
}

.chatbot-nudge p {
  color: var(--color-white);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.chatbot-nudge-btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.chatbot-nudge-btn:hover {
  background: var(--color-gold-light);
}

.chatbot-quotelink {
  align-self: flex-start;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-top: 2px;
}

.chatbot-quotelink:hover {
  background: #b78f38;
}

.chatbot-input-row {
  display: flex;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.chatbot-input-row input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 0.86rem;
  font-family: inherit;
  outline: none;
}

.chatbot-input-row button {
  border: none;
  background: var(--color-gold);
  color: var(--color-navy);
  width: 44px;
  font-size: 1rem;
  cursor: pointer;
}

.chatbot-input-row button:hover {
  background: var(--color-gold-light);
}

.chatbot-disclaimer {
  font-size: 0.7rem;
  color: var(--color-text-light);
  text-align: center;
  padding: 6px 10px;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

@media (max-width: 480px) {
  .chatbot-panel {
    right: 12px;
    bottom: 246px;
  }
}

/* ---------- 히어로 ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 홈페이지 메인 히어로: 화면의 대부분을 채우고, 글씨는 왼쪽 아래(사진의 단순한 잔디 영역)에 정렬.
   아래 여백은 경계에 걸치는 '무제한골프' 뱃지와 겹치지 않기 위한 공간 */
.hero-home {
  min-height: clamp(520px, 74vh, 720px);
  align-items: flex-end;
  padding-bottom: 10px;
}

@media (max-width: 640px) {
  .hero-home {
    min-height: clamp(440px, 62vh, 560px);
    padding-bottom: 0;
  }
}

/* 히어로/다음 섹션 경계에 걸치는 강조 뱃지 (무제한골프)
   뱃지는 다음 섹션 위에 얹히는 오버레이라, 문서 흐름(아래 콘텐츠 위치)에는 전혀 영향을 주지 않음 */
.badge-anchor {
  position: relative;
}

.hero-badge-straddle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
}

.hero-badge-circle {
  position: relative;
  transform: translateY(-50%);
  pointer-events: auto;
  background-repeat: no-repeat;
  background-size: 600% 600%;
  background-position: 0% 0%;
}

/* .hero-badge-straddle에 transform이 있으면 새로운 containing block이 생겨서
   자식의 position:fixed가 뷰포트가 아니라 그 부모 기준으로 갇혀버림 —
   그래서 transform을 부모가 아닌 뱃지 자신에게 주고, 화면 고정 상태에선 transform을 없앰 */
.hero-badge-circle.is-floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  transform: none;
  z-index: 300;
}

.hero-badge-circle.badge-golf {
  width: clamp(110px, 12vw, 150px);
  aspect-ratio: 300 / 207;
  background-image: url("../images/icons/unlimited-golf-badge-sparkle-sheet.png?v=2");
}

/* 골프코스 안내 페이지: 홈에서 쓰던 기존(골프공/깃발) 뱃지를 그대로 이어받음
   (홈은 새 영상으로 교체되므로, 기존 이미지 파일을 별도로 복사해 독립시킴) */
.hero-badge-circle.badge-golfcourse {
  width: clamp(80px, 8.5vw, 112px);
  aspect-ratio: 128 / 123;
  background-image: url("../images/icons/badge-sparkle-golfcourse.png");
}

.hero-badge-circle.badge-uniland {
  width: clamp(62px, 6.5vw, 85px);
  aspect-ratio: 155 / 256;
  background-image: url("../images/icons/badge-sparkle-uniland.png?v=4");
}

.hero-badge-circle.badge-price {
  width: clamp(100px, 10.6vw, 140px);
  aspect-ratio: 256 / 240;
  background-image: url("../images/icons/badge-sparkle-price.png?v=5");
}

.hero-badge-circle.badge-inquiry {
  width: clamp(58px, 6vw, 78px);
  aspect-ratio: 142 / 256;
  background-image: url("../images/icons/badge-sparkle-inquiry.png?v=4");
}

.hero-badge-circle.badge-faq {
  width: clamp(128px, 14.5vw, 178px);
  aspect-ratio: 256 / 78;
  background-image: url("../images/icons/badge-sparkle-faq.png?v=4");
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 세로: 해·수평선은 위쪽에, 카트가 제목 블록 위로 오도록 / 가로: 가운데 */
  object-position: center 80%;
}

/* 20초 주기의 '숨쉬기': 5초 동안 3% 커졌다가 5초 동안 돌아오고, 10초는 가만히 머무름.
   3%라 사진 화질에 부담이 없음 */
.hero-image-zoom {
  transform-origin: 65% 45%;
  animation: hero-breathe 20s ease-in-out infinite;
}

@keyframes hero-breathe {
  0% { transform: scale(1); animation-timing-function: ease-in-out; }
  25% { transform: scale(1.03); animation-timing-function: ease-in-out; }
  50%, 100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-zoom {
    animation: none;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 26, 38, 0) 0%,
    rgba(11, 22, 33, 0.18) 45%,
    rgba(9, 18, 27, 0.58) 72%,
    rgba(6, 13, 20, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 56px;
  width: 100%;
}

/* 홈 히어로 타이틀/리드문구가 로드 시 살짝 떠오르며 자연스럽게 등장 */
.hero-home .hero-content h1,
.hero-home .hero-content .lead {
  opacity: 0;
  animation: hero-text-in 0.9s ease forwards;
}

.hero-home .hero-content h1 {
  animation-delay: 0.3s;
}

.hero-home .hero-content .lead {
  animation-delay: 0.55s;
}

@keyframes hero-text-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(8, 16, 24, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.85rem;
  font-weight: 700;
}

.badge strong {
  color: var(--color-gold-light);
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 700px;
}

/* 서브페이지(요금표/문의/유니랜드소개/FAQ/갤러리) 히어로 타이틀만 한 단계 줄이고
   중앙 정렬 시안을 적용 — 메인 홈 히어로(.hero-home)는 그대로 유지 */
.hero:not(.hero-home) h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}

.hero:not(.hero-home) .hero-content {
  text-align: center;
  transform: translateY(10.8px);
}

.hero:not(.hero-home) .hero-content h1,
.hero:not(.hero-home) .hero-content .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero:not(.hero-home) .hero-content .trust-badges {
  justify-content: center;
}

/* 홈페이지 메인 타이틀 전용: 두꺼운 고딕 대신 조금 더 가볍고 여유있는 인상 */
.hero h1.hero-title-light {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.24;
}

.hero p.lead {
  font-size: 1.05rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.hero-home .hero-content .lead {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 섹션 공통 ---------- */

.section {
  padding: 104px 0;
}

.section-alt {
  background: var(--color-white);
}

.section-navy {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--color-white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--color-text-light);
  font-size: 1rem;
}

/* ---------- 카드 그리드 ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, background-color 0.25s ease;
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-border);
  background: #fbf8ef;
}

.card:hover .card-body p {
  color: var(--color-text);
}

.card:active {
  transform: translateY(-2px) scale(0.98);
}

.card .card-media {
  height: 190px;
  overflow: hidden;
  background: var(--color-primary-light);
}

.card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px 22px 24px;
}

.card-body .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-primary-deep);
  background: var(--color-gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.card-body h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  transition: color 0.25s ease;
}

.card-body .ext-price {
  margin: 2px 0 4px;
}

.card-body .ext-price .ext-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-deep);
}

.card-body .ext-price .ext-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-deep);
  margin-left: 3px;
}

.card-body p.ext-detail {
  color: var(--color-text);
}

/* 자리표시자 이미지 (실사진 없는 항목) */
.placeholder-media {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: repeating-linear-gradient(
    135deg,
    #e2e6ea,
    #e2e6ea 10px,
    #eef1f4 10px,
    #eef1f4 20px
  );
  color: var(--color-text-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

.placeholder-media .ph-icon {
  font-size: 1.6rem;
}

/* ---------- 사진 갤러리 + 라이트박스 ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item .placeholder-media {
  height: 100%;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 13, 20, 0.72) 0%, rgba(6, 13, 20, 0) 45%);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:active {
  transform: scale(0.98);
}

.gallery-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- 홈페이지: 카테고리 커버 (갤러리 1단계) ---------- */

/* blackmountainhuahin.com 참고: 큼직한 한 컷 -> 두 컷씩 -> 큼직한 한 컷 순서의
   에디토리얼 리듬. 6개 카테고리 = 1(넓게) + 2 + 2 + 1(넓게) */
.gallery-covers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.gallery-cover-wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 8;
}

.gallery-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 13, 20, 0.82) 0%, rgba(6, 13, 20, 0.05) 55%);
}

.gallery-cover:hover img {
  transform: scale(1.06);
}

.gallery-cover:active {
  transform: scale(0.98);
}

.gallery-cover-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--color-white);
}

.gallery-cover-overlay h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-cover-overlay span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

@media (max-width: 860px) {
  .gallery-covers {
    grid-template-columns: 1fr;
  }

  .gallery-cover-wide {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 갤러리 상세 페이지: 다른 카테고리로 바로 이동 (기존 .tag 카테고리 라벨과 통일감) ---------- */

.gallery-switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.gallery-switch-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-primary-deep);
  background: var(--color-gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.gallery-switch-tag:hover,
.gallery-switch-tag:focus-visible {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ---------- 갤러리 상세 페이지: 카테고리별 사진 3열 나열 ---------- */

.gallery-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 860px) {
  .gallery-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 13, 20, 0.92);
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.lightbox-stage {
  max-width: min(880px, 88vw);
  text-align: center;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.lightbox.open .lightbox-stage {
  transform: scale(1) translateY(0);
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: var(--radius-sm);
  margin: 0 auto;
  box-shadow: var(--shadow-strong);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
  margin: 0 18px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    margin: 0 8px;
    font-size: 1.3rem;
  }
}

/* ---------- 왜 유니랜드인가: 호버-확장 카드 ---------- */
/* UNIST 홈페이지의 WHY UNIST 섹션 인터랙션을 참고해 구현.
   4장이 위아래로 살짝 어긋나게(지그재그) 배치되고, 마우스를 올리면
   그 카드만 넓어지며 배경 위에 상세 설명이 나타나는 구조. */

.expand-cards {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
}

.expand-card {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 480px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: flex 0.45s ease, margin-top 0.45s ease, transform 0.15s ease;
}

.expand-card:active {
  transform: scale(0.98);
}

/* 짝수 번째 카드를 아래로 내려 위아래 변칙 배치를 만듭니다 */
.expand-card:nth-child(even) {
  margin-top: 56px;
}

.expand-card:focus-visible,
.expand-card.active {
  flex: 3.2;
  margin-top: 0;
}

.expand-card .ec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.expand-card .ec-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expand-card .ec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(6, 13, 20, 0.86) 0%,
    rgba(6, 13, 20, 0.35) 45%,
    rgba(6, 13, 20, 0.15) 100%
  );
}

.expand-card .ec-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  z-index: 1;
  color: var(--color-white);
}

.expand-card .ec-title {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #c9a24d;
  transition: opacity 0.2s;
}

.expand-card .ec-title .ec-icon {
  display: block;
  margin-bottom: 10px;
}

.expand-card .ec-title .ec-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.expand-card:focus-visible .ec-title,
.expand-card.active .ec-title {
  display: none;
}

.expand-card .ec-detail {
  display: none;
}

.expand-card:focus-visible .ec-detail,
.expand-card.active .ec-detail {
  display: block;
  animation: ec-fade-in 0.5s ease both;
  animation-delay: 0.15s;
}

@keyframes ec-fade-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expand-card .ec-detail h3 {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.expand-card .ec-detail p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 480px;
  margin-bottom: 14px;
}

.expand-card .ec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.expand-card .ec-tags span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
}

.expand-card .ec-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

@media (max-width: 860px) {
  .expand-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .expand-card,
  .expand-card:nth-child(even) {
    flex: none;
    width: 100%;
    height: 260px;
    margin-top: 0;
  }

  .expand-card .ec-title {
    display: none;
  }

  .expand-card .ec-detail {
    display: block;
  }

  /* 세로로 쌓인 모바일에서 flex 값을 바꾸면 탭(:hover) 순간 카드 높이가 0이 되어
     클릭이 카드 밖으로 빠져 링크가 안 열린다. 높이를 260px로 고정 유지. */
  .expand-card:hover,
  .expand-card:focus-visible,
  .expand-card.active {
    flex: none;
  }
}

/* ---------- 타임라인 (브랜드 스토리) ---------- */

.timeline {
  position: relative;
  max-width: 640px;
  margin: 20px auto 0;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 2.5px;
  top: 0;
  bottom: 0;
  width: 3px;
  /* 마지막 기록 아래로 선이 뚝 끊기지 않고 옅어지며 사라지게 해서,
     앞으로도 계속 이어질 이야기라는 느낌을 준다 */
  background: linear-gradient(
    180deg,
    var(--color-gold-light) 0%,
    var(--color-gold-light) calc(100% - 70px),
    transparent 100%
  );
}


.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 60px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.timeline-item .year {
  font-weight: 800;
  color: var(--color-gold);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* ---------- 사진+텍스트 스플릿 섹션 ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 380px;
}

.split-media img,
.split-media .placeholder-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-text .eyebrow {
  margin-bottom: 8px;
}

.split-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 16px;
}

.split-text p {
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.fact-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.fact-list li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
  align-items: baseline;
}

.fact-list li::before {
  content: "✔";
  color: var(--color-gold);
  font-weight: 800;
}

/* ---------- 요금표 ---------- */

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.price-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.price-card.highlight {
  background: #f9f2e2;
  border: 2px solid var(--color-gold);
}

/* 성수기(인기) 카드도 빠른견적문의 버튼과 같은 골드 라이트 스윕을 한 번 재생 */
.price-card.highlight::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--pipe-angle),
    transparent 0%,
    transparent 75%,
    rgba(244, 214, 149, 0.95) 88%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pipeGlowChase 2.6s ease-out 0.6s 2 forwards;
}

.price-card .ribbon {
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card .season {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.price-card .period {
  color: var(--color-text-light);
  font-size: 0.82rem;
  margin-bottom: 18px;
}

.price-card .unit-label {
  color: var(--color-text-light);
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
  margin-bottom: 6px;
}

.price-card .amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary-deep);
  margin-bottom: 4px;
}

.price-card .amount span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.price-card .note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 14px;
}

.section-note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 14px;
}

.price-disclaimer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 340px));
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .include-grid {
    grid-template-columns: minmax(260px, 340px);
  }
}

.include-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--color-border);
}

.include-box h3 {
  font-size: 1.08rem;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.include-box.include h3 { color: var(--color-primary); }
.include-box.exclude h3 { color: #a35c2f; }

.incl-mark,
.excl-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 800;
}

.incl-mark { background: var(--color-primary); }
.excl-mark { background: #a35c2f; }

.include-box ul li {
  position: relative;
  font-size: 0.9rem;
  padding: 6px 0 6px 14px;
  border-bottom: 1px dashed var(--color-border);
  color: #535c67;
}

.include-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-border);
}

.include-box ul li strong {
  color: var(--color-primary-deep);
}

.include-box ul li:last-child {
  border-bottom: none;
}

/* 일정 타임라인 (가로 스텝) */

.itinerary-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.itinerary-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.itinerary-step:hover {
  background: #fbf8ef;
  border-color: var(--color-border);
  box-shadow: var(--shadow-soft);
  transform: scale(1.05);
}

.itinerary-step:hover p {
  color: var(--color-text);
}

.itinerary-step .day {
  font-weight: 800;
  color: var(--color-gold);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.itinerary-step p {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* ---------- 폼 ---------- */

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

/* 챗봇 등에서 #quoteForm으로 바로 이동했을 때 고정 헤더에 안 가려지도록 여유 확보 */
#quoteForm {
  scroll-margin-top: calc(var(--header-height) + 60px);
}

.quick-contact-row {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 32px;
}

.quick-contact-row .btn-outline {
  border-width: 1px;
}

.quick-contact-row .btn {
  flex: 1;
  min-width: 0;
  padding: 9px 10px;
  font-size: 0.82rem;
  gap: 6px;
}

@media (max-width: 480px) {
  .quick-contact-row {
    flex-wrap: wrap;
  }

  .quick-contact-row .btn {
    min-width: 140px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-primary-deep);
}

.form-group .req {
  color: #c0453b;
  margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-ivory);
  transition: border-color 0.15s;
}

.form-group input[type="date"] {
  /* 모바일 Safari(iOS)는 네이티브 컨트롤을 그리면서 height/line-height 같은
     박스 모델 CSS를 대부분 무시하고 자체 높이를 고정해버린다 —
     appearance를 꺼서 일반 입력창처럼 박스 모델을 따르게 만든다 */
  -webkit-appearance: none;
  appearance: none;
  height: 46px;
  line-height: 1.4;
}

.form-group input[type="date"]::-webkit-date-and-time-value {
  /* iOS Safari는 값 텍스트를 감싸는 내부 요소에 별도의 기본 높이/정렬을
     주기 때문에, appearance:none만으로는 부족해 이 부분도 함께 맞춰준다 */
  text-align: left;
  min-height: 1.3em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.radio-pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-pill {
  position: relative;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.radio-pill label {
  display: block;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.15s;
}

.radio-pill input:checked + label {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

details.form-accordion {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  margin-top: 10px;
}

details.form-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

details.form-accordion summary::-webkit-details-marker {
  display: none;
}

details.form-accordion summary::before {
  content: "＋";
  font-weight: 800;
}

details.form-accordion[open] summary::before {
  content: "－";
}

details.form-accordion .accordion-body {
  padding-top: 18px;
}

#summaryCard {
  background: var(--color-primary-light);
  border: 1px dashed var(--color-primary);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.9rem;
  display: none;
}

#summaryCard.show {
  display: block;
}

#summaryCard h3 {
  font-size: 0.92rem;
  margin-bottom: 8px;
  color: var(--color-primary-deep);
}

#summaryCard p {
  margin-bottom: 4px;
  color: var(--color-text);
}

.response-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 16px;
}

.todo-note {
  font-size: 0.75rem;
  color: #a35c2f;
  background: #fbf1e6;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 6px;
  display: inline-block;
}

/* ---------- 아코디언 (FAQ) ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: transform 0.12s ease;
}

.faq-question:active {
  transform: scale(0.99);
}

.faq-item {
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--color-gold);
}

.faq-question .icon {
  color: var(--color-gold);
  font-size: 1.2rem;
  flex: none;
  transition: transform 0.2s;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}

.faq-answer p {
  color: #535c67;
  font-size: 0.92rem;
  padding-bottom: 20px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ---------- 세탁서비스 안내 표 ---------- */

.laundry-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.85rem;
}

.laundry-table th,
.laundry-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.laundry-table th {
  color: var(--color-primary);
  font-weight: 800;
}

/* ---------- 푸터 ---------- */

.site-footer {
  /* 헤더 상단 배경(rgba(250,248,243,0.96))과 같은 계열인 --color-ivory로 통일 */
  background: var(--color-ivory);
  color: var(--color-text-light);
  padding: 32px 0 90px;
  text-align: center;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(201, 162, 75, 0.4);
}

.footer-links-row a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.footer-links-row a:hover {
  color: var(--color-primary);
}

/* 사업자 정보: 좌측 하단에 작게, 통상적인 웹사이트 표기 방식 */
.footer-info {
  max-width: 560px;
  margin: 0 auto;
}

.footer-info p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}

.footer-info p a {
  color: var(--color-text-light);
}

.footer-brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-primary-deep);
}

.footer-badge {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* ---------- 반응형 ---------- */

@media (max-width: 860px) {
  .section {
    padding: 64px 0;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .menu-toggle {
    display: block;
  }

  .split,
  .split.reverse .split-media {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media {
    height: 260px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .itinerary-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 480px;
  }

  .form-wrap {
    padding: 26px 18px;
  }

  .itinerary-steps {
    grid-template-columns: 1fr;
  }

  .floating-cta .fab span.fab-label {
    display: none;
  }
}

/* ---------- FAQ 하단 안내 링크 (여행 준비/TDAC) ---------- */

.faq-guide-link {
  display: block;
  max-width: 576px;
  margin: 36px auto 0;
  background: linear-gradient(160deg, #2c5b81, #14324a 45%, #071f31);
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  padding: 17.1px 24px;
  border-radius: 11.34px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.faq-guide-link:hover {
  border-color: var(--color-gold);
}

.faq-guide-link span {
  transition: color 0.2s ease;
}

.faq-guide-link:hover span {
  background: linear-gradient(160deg, #f4e6c2, #c9a24b 55%, #9c7a35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.faq-guide-link:active {
  transform: scale(0.98);
}

/* ---------- 여행 준비 안내 (TDAC) ---------- */

.address-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 28px;
  max-width: 460px;
  margin: 24px auto 0;
  text-align: center;
}

.address-box dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  row-gap: 10px;
  column-gap: 12px;
  margin: 0 0 20px;
  text-align: left;
}

.address-box dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-light);
  align-self: center;
}

.address-box dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  letter-spacing: 0.01em;
}

.address-copy-btn {
  border-width: 1px;
  border-color: var(--color-border);
}

.callout-warning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 auto 8px;
  max-width: 640px;
}

.callout-warning .icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.callout-warning p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text);
  font-weight: 600;
}

.callout-warning p strong {
  color: #a35c2f;
}

.tdac-steps {
  position: relative;
  max-width: 640px;
  margin: 28px auto 0;
  padding-left: 40px;
}

.tdac-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--color-border);
}

.tdac-step {
  position: relative;
  padding-bottom: 26px;
}

.tdac-step:last-child {
  padding-bottom: 0;
}

.tdac-step .num {
  position: absolute;
  left: -40px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold);
  font-weight: 800;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tdac-step p {
  font-size: 0.94rem;
  color: var(--color-text);
  margin: 3px 0 0;
}

.tip-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 18px;
}

.new-tab-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-light);
  margin-top: 8px;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 24px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-credit {
  max-width: 640px;
  margin: 8px auto 0;
  text-align: right;
  font-size: 0.76rem;
  color: var(--color-text-light);
}

.video-credit a {
  color: var(--color-text-light);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .address-box dl {
    grid-template-columns: 84px 1fr;
  }

  .tdac-steps {
    padding-left: 34px;
  }

  .tdac-step .num {
    left: -34px;
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .brand .brand-sub {
    display: none;
  }

  .header-actions .btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
}

/* ---------- 견적서 예시 (나란히 배치) ---------- */

.doc-stack {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px auto 0;
}

.doc-stack .gallery-item {
  position: relative;
  height: 373px;
  width: auto;
  aspect-ratio: 1642 / 2305;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 14px -6px rgba(6, 13, 20, 0.18);
  background: var(--color-white);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.doc-stack .gallery-item::after {
  content: none;
}

.doc-stack .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: none;
}

.doc-stack .gallery-item:hover img {
  transform: none;
}

.doc-stack .gallery-item .gallery-caption {
  display: none;
}

.doc-stack .gallery-item:hover {
  transform: translateY(-8px);
  border-color: var(--color-border);
  box-shadow: 0 10px 24px -10px rgba(6, 13, 20, 0.28);
}

@media (max-width: 640px) {
  .doc-stack .gallery-item {
    height: 285px;
  }
}

/* ---------- 개인정보처리방침 등 약관 페이지 ---------- */

.legal-hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 72px 0 44px;
  text-align: center;
}

.legal-hero h1 {
  color: var(--color-white);
  margin-bottom: 8px;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.12rem;
  margin: 40px 0 12px;
  color: var(--color-navy);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-light);
  font-size: 0.96rem;
}

.legal-content ul {
  margin: 8px 0 8px 20px;
  padding: 0;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  text-align: left;
  color: var(--color-text-light);
}

.legal-content th {
  background: var(--color-ivory);
  color: var(--color-text);
}

.legal-updated {
  text-align: right;
  color: var(--color-text-light);
  font-size: 0.85rem;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* ---------- 폼 개인정보 동의 체크박스 ---------- */

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.consent-row label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.consent-row label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- 골프코스 안내: 코스별 총 야디지 + 홀별 상세(공용 패널) ---------- */

/* A/B/C 코스 카드 3개는 일반 .card와 달리 마우스 올려도 배경색이
   바뀌거나 떠오르지 않도록 고정 (움직이는 느낌을 원하지 않으셔서) */
.course-card:hover {
  transform: none;
}

.course-yardage-total {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  background: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.course-hole-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.course-hole-toggle:hover {
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-navy) 100%);
}

.course-hole-toggle:active {
  transform: scale(0.97);
}

/* 클릭해서 펼쳐진 상태일 때는 골드로 바뀌어 "지금 열려있다"는 걸 강조 */
.course-hole-toggle.is-open {
  background: var(--color-gold);
  color: var(--color-navy);
}

.course-hole-toggle .arrow {
  transition: transform 0.2s ease;
}

.course-hole-toggle.is-open .arrow {
  transform: rotate(180deg);
}

/* 카드 3개 밑에 공용으로 하나만 있는 상세 영역.
   카드 안에 각자 넣으면 grid 특성상 옆 카드까지 높이가 늘어나
   "펼쳤는데 옆에 빈 칸이 생기는" 문제가 있어 카드 밖으로 분리함 */
.hole-detail-panel {
  display: none;
  margin-top: 36px;
}

.hole-detail-panel.is-open {
  display: block;
}

.hole-detail-block {
  display: none;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--color-border);
  /* 상세보기 클릭 시 스크롤 이동했을 때 제목이 고정 헤더에 가리지 않도록 여유 확보 */
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.hole-detail-block.is-open {
  display: block;
}

.hole-detail-head {
  margin-bottom: 20px;
}

.hole-detail-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hole-detail-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* 갤러리 전환 태그(.gallery-switch-tag)는 원래 <a> 링크용 스타일이라,
   버튼에서도 동일하게 보이도록 기본 버튼 스타일을 초기화 */
button.gallery-switch-tag {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hole-detail-head h3 {
  font-size: 1.15rem;
  color: var(--color-primary-deep);
}

.hole-detail-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--color-text-light);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.hole-detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}

.hole-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hole-table-wrap {
  overflow-x: auto;
}

.hole-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.hole-table caption {
  text-align: left;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.hole-table th,
.hole-table td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.hole-table th {
  font-weight: 700;
  color: var(--color-primary-deep);
  background: var(--color-primary-light);
}

.hole-table td:first-child,
.hole-table th:first-child {
  text-align: left;
  font-weight: 700;
}

.hole-table tr:last-child td {
  font-weight: 700;
  border-bottom: none;
}

@media (max-width: 860px) {
  .hole-detail-layout {
    grid-template-columns: 1fr;
  }
}

.scorecard-preview {
  margin-top: 40px;
  text-align: center;
}

.scorecard-preview-label {
  font-weight: 700;
  color: var(--color-primary-deep);
  margin-bottom: 12px;
}

/* 스코어카드는 갤러리 라이트박스 클릭 기능만 재사용하고, 갤러리 그리드용
   4:3 크롭 박스는 적용하지 않음(가로로 넓은 표라 잘리면 안 됨) */
.scorecard-item {
  display: block;
  width: 60%;
  aspect-ratio: auto;
  margin: 0 auto;
  cursor: zoom-in;
}

.scorecard-item img {
  width: 100%;
  height: auto;
  object-fit: initial;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.scorecard-item::after {
  display: none;
}

.scorecard-item .gallery-caption {
  display: none;
}

@media (max-width: 860px) {
  .scorecard-item {
    width: 100%;
  }
}

/* ---------- 개인정보처리방침 팝업 (유니챗과 같은 톤: 흰 카드 + 네이비 제목줄) ---------- */
.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 13, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.policy-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease;
}

.policy-modal-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: min(82vh, 760px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}

.policy-modal.open .policy-modal-card {
  transform: none;
}

.policy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(160deg, #2c5b81, #14324a 45%, #071f31);
  color: var(--color-white);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.98rem;
}

.policy-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

.policy-modal-close:hover,
.policy-modal-close:focus-visible {
  color: var(--color-white);
}

.policy-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
  overscroll-behavior: contain;
}

.policy-modal-body .legal-content {
  max-width: none;
}

.policy-modal-body .legal-content h2 {
  font-size: 1rem;
  margin-top: 28px;
}

.policy-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--color-border);
  background: var(--color-ivory);
}

.policy-modal-foot .btn {
  padding: 10px 22px;
  font-size: 0.92rem;
}

body.policy-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .policy-modal {
    align-items: flex-end;
    padding: 0;
  }

  .policy-modal-card {
    max-width: none;
    max-height: 88vh;
    border-radius: var(--radius) var(--radius) 0 0;
    transform: translateY(40px);
  }
}
