/**
 * 엔스타일투어 리뉴얼 공통 스타일 (renewal-layout 에서 모든 페이지에 로드)
 * - 디자인 토큰 / 지역 테마 색상 변수 (body[data-region])
 * - 상단 공통 메뉴, 모바일 메뉴, 하단 공통 메뉴
 * - 공통 컴포넌트: 버튼, 섹션 타이틀, 호텔·여행정보 배너, 블로그 카드
 *
 * 화면별 스타일은 별도 파일: intro.css(메인), region.css(지역 메인) …
 * 규칙: 지역 테마색은 배경 / 포인트 글자에만 사용, 마우스 효과는 지역 구분 없는 공통 효과
 * 크기 기준: 콘텐츠 최대 1600px(여백 포함), 글자/여백은 스테이럭스 기준
 */
/* ==========================================================
   1. 디자인 토큰
   ========================================================== */
:root {
  /* 레이아웃 (스테이럭스 기준) */
  --container: 1600px;
  --gutter: min(4%, 64px); /* 화면 폭의 4%, 1600px 초과 화면에서는 1600px 기준(64px) 고정 → 콘텐츠 최대 폭 1472px 유지 */
  --header-h: 76px;
  --util-h: 36px;

  /* 공통 톤 : 잉크(웜 블랙) / 아이보리 / 샴페인 골드 */
  --ink: #16130f;
  --ink-2: #1f1b16;
  --ink-3: #2b261f;
  --ivory: #faf8f4;
  --ivory-2: #f3efe7;
  --white: #ffffff;

  --gold: #b39256;
  --gold-light: #d4bc8a;
  --gold-deep: #7f6234;
  --gold-line: rgba(212, 188, 138, 0.55);

  --text-primary: #1d1a16;
  --text-secondary: #6b655c;
  --text-tertiary: #a29b90;
  --line: #e7e2d9;
  --line-strong: #cfc8bc;

  --on-dark: #f3eee6;
  --on-dark-2: rgba(243, 238, 230, 0.66);
  --on-dark-3: rgba(243, 238, 230, 0.42);
  --line-on-dark: rgba(243, 238, 230, 0.14);

  /* 지역 테마 (기본값 = 스페인, body[data-region] 으로 덮어씀)
     --region          : 메인 테마색 (배경 / 포인트 글자)
     --region-dark     : 테마색 진한 톤 (테마색 배경 그라데이션)
     --region-sub      : 테마색과 어울리는 서브 배경색 (넓은 면적)
     --region-sub-deep : 서브 배경 위 장식 요소
     --region-deep     : 테마색과 어울리는 짙은 패널색 (배너 이미지 뒤 배경) */
  --region: #db0000;
  --region-dark: #a80000;
  --region-sub: #f3e6dc;
  --region-sub-deep: #e8d4c6;
  --region-deep: #2a1714;

  /* 폰트 */
  --font-sans: 'NanumBarunGothic', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;

  /* 타이포그래피 (스테이럭스 기준, 기본 16px) */
  --fs-xs: 0.8rem;
  --fs-sm: 0.85rem;
  --fs-md: 0.95rem;
  --fs-lg: 1.1rem;
  --fs-xl: 1.8rem;

  /* 간격 (스테이럭스 기준) */
  --section-y: 3.5rem;
  --grid-gap: 1.5rem;

  /* 모서리 / 그림자 / 전환 */
  --radius: 2px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 1.2s var(--ease);
}

/* 지역별 테마 컬러 - 메인색 / 진한색 / 서브 배경색 / 서브 장식색 */
body[data-region="spain"]     { --region: #db0000; --region-dark: #a80000; --region-sub: #f3e6dc; --region-sub-deep: #e8d4c6; --region-deep: #2a1714; } /* 레드 + 테라코타 베이지 + 와인 브라운 */
body[data-region="italia"]    { --region: #f59201; --region-dark: #c47400; --region-sub: #eef0e2; --region-sub-deep: #dde2c8; --region-deep: #2a1d10; } /* 오렌지 + 세이지 올리브(테스트, 이전 크림 #fbf4e6 / #f3e2c1) + 다크 앰버 */
body[data-region="croatia"]   { --region: #00bde4; --region-dark: #0091b0; --region-sub: #edf6f8; --region-sub-deep: #d0e9ef; --region-deep: #10232a; } /* 아쿠아 + 아드리아 블루 */
body[data-region="france"]    { --region: #df4785; --region-dark: #b52f67; --region-sub: #f4ecf2; --region-sub-deep: #e5d3e0; --region-deep: #2a1520; } /* 핑크 + 모브 로즈 + 딥 플럼 */
body[data-region="swiss"]     { --region: #3a9a0a; --region-dark: #2b7406; --region-sub: #f0efeb; --region-sub-deep: #dcdad3; --region-deep: #15220f; } /* 그린 + 알파인 스톤 + 딥 포레스트 */
body[data-region="austria"]   { --region: #1b8791; --region-dark: #13656d; --region-sub: #eef4f3; --region-sub-deep: #cfe2e2; --region-deep: #0f2224; } /* 틸 + 민트 그레이 */
body[data-region="neurope"]   { --region: #84b1cd; --region-dark: #5b8eae; --region-sub: #f0f4f7; --region-sub-deep: #d9e5ed; --region-deep: #172129; } /* 아이스 블루 + 프로스트 */
body[data-region="czech"]     { --region: #3b98b7; --region-dark: #2b7690; --region-sub: #f6f0de; --region-sub-deep: #e8dcb8; --region-deep: #12212a; } /* 블루 + 필스너 골드 + 딥 네이비 */
body[data-region="georgia"]   { --region: #9bb104; --region-dark: #788a00; --region-sub: #f5f6ea; --region-sub-deep: #e2e7c4; --region-deep: #1f2310; } /* 올리브 + 라이트 라임 */
body[data-region="canada"]    { --region: #41729f; --region-dark: #2f567b; --region-sub: #eff2f6; --region-sub-deep: #d4dfe9; --region-deep: #141d2a; } /* 네이비 블루 + 미스트 */
body[data-region="australia"] { --region: #b84c01; --region-dark: #8c3a00; --region-sub: #f8f0e8; --region-sub-deep: #eed9c5; --region-deep: #2a170c; } /* 아웃백 오렌지 + 샌드스톤 */
body[data-region="theme"]     { --region: #43536e; --region-dark: #313d52; --region-sub: #f0f1f4; --region-sub-deep: #d9dde5; --region-deep: #171c26; } /* 슬레이트 + 쿨 그레이 */
/* 사이트 기본 색상 : 잉크 블랙 + 샴페인 골드 (서비스 안내 · 공지사항 · 이벤트 · 약관 · 회사소개 공통)
   - 서버에서는 AppConstant.RENEWAL_THEME_SITE("site") 로 지정, 색상은 이 한 줄만 바꾸면 모든 화면에 적용
   - .theme-site : 지역 화면 안에서 일부 영역만 사이트 기본 색상으로 (예: 여행상품 상세의 상품 내용) */
body[data-region="site"], .theme-site { --region: #26231f; --region-dark: #14110c; --region-sub: #efe9dd; --region-sub-deep: #e5ddcc; --region-deep: #14110c; }
body[data-region="intro"]     { --region: #db0000; --region-dark: #a80000; --region-sub: #f6f1ea; --region-sub-deep: #ebe2d6; --region-deep: #16130f; } /* 공용(인트로·공지 등): 브랜드 레드 + 웜 아이보리 */
body[data-region="bespoke"]   { --region: #3d2a4a; --region-dark: #2c1e36; --region-sub: #f3f0f5; --region-sub-deep: #e2dbe8; --region-deep: #1c1322; } /* 맞춤여행: 딥 플럼 + 라벤더 그레이 (이전 미드나잇 네이비 #1f2f4a / 샴페인 #f5f1e8) */
body[data-region="hotel"]     { --region: #1f2f4a; --region-dark: #152238; --region-sub: #f5f1e8; --region-sub-deep: #e7dfcf; --region-deep: #121a2a; } /* 호텔: 미드나잇 네이비 + 샴페인 */
body[data-region="info"]      { --region: #8a6a2c; --region-dark: #6b5120; --region-sub: #f6f1e4; --region-sub-deep: #e9dfc6; --region-deep: #221a0d; } /* 여행정보: 앤티크 골드 + 파치먼트 */
body[data-region="qna"]       { --region: #24463c; --region-dark: #1a342d; --region-sub: #f0f2ea; --region-sub-deep: #dce2d3; --region-deep: #111d19; } /* 질문과 답변: 딥 포레스트 그린 + 세이지 아이보리 */

/* ==========================================================
   2. 기본
   ========================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; } /* 입력창도 본문 글꼴 (textarea 기본 고정폭 글꼴 방지) */

:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon { width: 1em; height: 1em; flex: none; }

.serif { font-family: var(--font-serif); }

/* 공통 버튼 : 헤어라인 아웃라인 → 마우스 오버 시 채움 */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 50px;
  padding: 0 2.4rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  transition: background var(--transition-fast), color var(--transition-fast), gap var(--transition-fast);
}

.btn-line:hover { background: var(--ink); color: var(--ivory); gap: 0.9rem; }

.btn-line--light { border-color: rgba(243, 238, 230, 0.5); color: var(--on-dark); }
.btn-line--light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }

/* ==========================================================
   3. SNS 아이콘 (nstyletour.com/links 디자인 기준)
   ========================================================== */
.sns { display: flex; align-items: center; gap: 2px; }

.sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #1d1d1f;
  transition: background-color 0.15s ease;
}

.sns a:hover { background: var(--line); }
.sns svg { width: 22px; height: 22px; }

.sns--sm a { width: 30px; height: 30px; }
.sns--sm svg { width: 17px; height: 17px; }

/* 다크 배경 */
.sns--dark a { color: #f2efe9; }
.sns--dark a:hover { background: rgba(255, 255, 255, 0.12); }

/* ==========================================================
   4. 공통 헤더 - 유틸바
   - 은은한 아이보리 띠 + 아래 얇은 경계선 (메인바와 구분되는 고급 톱바)
   - 왼쪽 안내 메뉴 : 금색 점 구분, 마우스를 올리면 금색 밑줄이 가운데부터 펼쳐짐
   - 오른쪽 계정 메뉴 : 작은 선 아이콘 + 글자 / SNS : 얇은 세로선 뒤 원형 테두리 버튼
   ========================================================== */
.util-bar {
  height: var(--util-h);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  font-size: 0.76rem;
  letter-spacing: 0.2px;
  color: var(--text-tertiary);
}

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

.util-links { display: flex; align-items: center; }
.util-links a { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0; transition: color var(--transition-fast); }
.util-links a:hover { color: var(--text-primary); }

/* 왼쪽 : 금색 점 구분 + 금색 밑줄 */
.util-links--info li + li::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.9rem;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.util-links--info a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: left var(--transition-normal), right var(--transition-normal);
}

.util-links--info a:hover::after { left: 0; right: 0; }

/* 오른쪽 : 계정 메뉴 (아이콘 + 글자, 간격으로 구분) */
.util-links--account { gap: 1.15rem; }
.util-links--account .u-ico { width: 13px; height: 13px; flex: none; opacity: 0.75; transition: opacity var(--transition-fast); }
.util-links--account a:hover .u-ico { opacity: 1; color: var(--gold-deep); }

.util-right { display: flex; align-items: center; gap: 1.15rem; }

/* SNS : 얇은 세로선 + 원형 테두리 버튼 */
.sns--util { gap: 0.35rem; padding-left: 1.15rem; border-left: 1px solid var(--line-strong); }
.sns--util a { width: 24px; height: 24px; border: 1px solid var(--line-strong); color: var(--text-tertiary); transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast); }
.sns--util svg { width: 12px; height: 12px; }
.sns--util a:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ==========================================================
   5. 공통 헤더 - 메인바 (sticky, 화이트)
   ========================================================== */
/* 유틸바 + 메인바 묶음: sticky 기준을 유틸바 높이만큼 위로 → 스크롤 시 유틸바는 사라지고 메인바만 고정 */
.site-top {
  position: sticky;
  top: calc(var(--util-h) * -1);
  z-index: 1000;
  /* 아래 콘텐츠와 구분: 옅은 경계선 + 부드러운 그림자 (인트로 흰색 헤더와 동일) */
  box-shadow: 0 1px 0 rgba(22, 19, 15, 0.06), 0 10px 28px -14px rgba(22, 19, 15, 0.22);
}

/* 불투명 배경 + 스크롤 그림자 없음 → 헤더 하단 라인 없음 */
.site-header {
  position: relative;
  background: var(--white);
  color: var(--text-primary);
}

.header-main {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

/* 로고: 밝은 배경용 로고 (intro/intro_logo_red2.png 500x300 고해상도 - 모바일 고밀도 화면에서도 선명), 가로 폭 기준 크기 */
.logo { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.logo-box {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-normal);
}

/* 마우스 오버 시 2px 떠오름 */
.logo-box:hover { transform: translateY(-2px); }
.logo-box img { width: 84px; height: auto; object-fit: contain; }
.logo-box .logo-light { display: none; }

/* 프리미엄 맞춤여행 SINCE 2006 : 기존 logo_2.png 이미지를 텍스트로 (글자 크기는 원래 이미지와 같게, 고해상도 화면에서도 선명)
   - 왼쪽 선 : 위아래로 흐려지는 샴페인 골드 가는 선 + 가운데 작은 마름모
   - 한글 : 고딕 진한 먹색 / 영문 : 세리프(Cormorant) 대문자, 넓은 자간, 골드 */
.logo-sub {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  margin-left: 0.3rem;
  padding: 0.1rem 0 0.1rem 0.85rem;
  color: #3a3632;
  line-height: 1;
  white-space: nowrap;
}
.logo-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: -0.3rem;
  bottom: -0.3rem;
  width: 1px;
  background: linear-gradient(to bottom, rgba(179, 146, 86, 0), var(--gold-light) 28%, var(--gold) 50%, var(--gold-light) 72%, rgba(179, 146, 86, 0));
}
.logo-sub::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.logo-sub-ko { font-size: 10px; font-weight: 700; letter-spacing: -0.3px; }
.logo-sub-en {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  font-variant-numeric: lining-nums; /* 2006 을 반듯한 숫자로 (세리프 기본은 옛 숫자체) */
  color: var(--gold-deep);
}
.logo-sub:hover .logo-sub-ko { color: var(--ink); }

/* GNB */
.gnb { flex: 1; height: 100%; }
.gnb > ul { display: flex; height: 100%; gap: 0.25rem; }
.gnb-item { display: flex; align-items: center; }

.gnb-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  padding: 0 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.gnb-link::after {
  content: '';
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 22px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-normal);
}

.gnb-link:hover::after,
.gnb-item.is-open > .gnb-link::after { transform: scaleX(1); }

.gnb-link .caret { font-size: 0.7rem; color: var(--text-tertiary); transition: transform var(--transition-fast); }
.gnb-item.is-open .caret { transform: rotate(180deg); }

/* 메가메뉴 */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  /* 짙은 잉크 반투명 + 배경 블러 */
  background: rgba(22, 19, 15, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--gold-line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  color: var(--on-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility 0s linear 0.25s;
}

.gnb-item.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility 0s;
}

.mega-inner {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 2.75rem;
}

.mega-group-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-on-dark);
}

.mega-list { display: grid; gap: 0.1rem 1.25rem; }
.mega-group--europe .mega-list { grid-template-columns: repeat(3, 1fr); }

/* 지역 링크 - 마우스 효과는 공통 */
.region-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: color var(--transition-fast), padding var(--transition-fast);
}

.region-link:hover { padding-left: 0.3rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* 메가메뉴(다크) 안의 지역 링크 */
.mega .region-link { color: var(--on-dark-2); }
.mega .region-link:hover { color: var(--on-dark); }
.mega .region-link.is-current { color: var(--on-dark); }

.region-link.is-current { font-weight: 700; }

.region-link.is-current::after {
  content: 'NOW';
  margin-left: 0.2rem;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
}

.mega .region-link.is-current::after { color: var(--gold-light); }

.mega-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(243, 238, 230, 0.05);
  border: 1px solid var(--line-on-dark);
  color: var(--on-dark);
}

.mega-cta .serif { display: block; font-size: 1.35rem; font-style: italic; color: var(--gold-light); line-height: 1.2; margin-bottom: 0.4rem; }
.mega-cta strong { display: block; font-size: 1.05rem; margin-bottom: 0.4rem; }
.mega-cta p { font-size: var(--fs-sm); color: var(--on-dark-2); line-height: 1.6; }
.mega-cta .btn-line { height: 42px; padding: 0 1.4rem; align-self: flex-start; }

/* 헤더 우측 액션 */
.header-actions { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }

.search-box {
  display: flex;
  align-items: center;
  width: 250px;
  height: 40px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--transition-fast);
}

.search-box:focus-within { border-color: var(--ink); }

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: var(--fs-sm);
}

.search-box input::placeholder { color: var(--text-tertiary); }

.search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 17px;
  color: var(--text-primary);
  transition: opacity var(--transition-fast);
}

.search-box button:hover { opacity: 0.6; }

/* STAYLUXE 연결 버튼: 글자 테두리 버튼 */
.stayluxe-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1.2rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.stayluxe-link:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 22px;
  color: var(--text-primary);
  transition: opacity var(--transition-fast);
}

.icon-btn:hover { opacity: 0.6; }
.icon-btn .icon-label { display: none; }

/* 모바일 바로가기 (서비스 안내 / 맞춤여행 / 호텔 / 질문과 답변) - PC 는 숨김 */
.quick-links { display: none; }

/* ==========================================================
   6. 모바일 드로어 (밝은 아이보리)
   ========================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(22, 19, 15, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility 0s linear 0.4s;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1101;
  width: min(380px, 88vw);
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-normal), visibility 0s linear 0.4s;
}

body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; transition: opacity var(--transition-normal); }
body.drawer-open .drawer { transform: translateX(0); visibility: visible; transition: transform var(--transition-normal); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 0.75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.drawer-head .logo-box img { width: 68px; height: auto; }
.drawer-head .icon-btn { display: inline-flex; }

.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem 1.25rem; }

.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.75rem; }
.drawer-auth .btn-line { height: 46px; padding: 0; }
.drawer-auth .btn-line.is-primary { background: var(--ink); color: var(--ivory); }

.drawer-section + .drawer-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.drawer-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.drawer-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.drawer-regions .region-link { font-size: 0.92rem; }

.drawer-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  transition: opacity var(--transition-fast);
}

.drawer-menu a:hover { opacity: 0.7; }
.drawer-menu a .icon { color: var(--text-tertiary); font-size: 14px; }

.drawer-sub { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: var(--fs-sm); color: var(--text-secondary); }
.drawer-sub a { transition: color var(--transition-fast); }
.drawer-sub a:hover { color: var(--text-primary); }

.drawer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.drawer-foot .sns { margin-left: -8px; }
.drawer-foot .stayluxe-link { height: 34px; }

/* ==========================================================
   7. 공통 - 슬라이드 겹치기 (페이드 전환, 배너 문구/이미지)
   ========================================================== */
.stack { display: grid; }

.stack > * {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}

.stack > .is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 0s;
}

/* ==========================================================
   8. 공통 - 제목 띠 (지역 메인 / 맞춤여행 등 공용 화면, 테마색 배경)
   ========================================================== */
.region-band {
  position: relative;
  background: linear-gradient(100deg, var(--region-dark) 0%, var(--region) 55%);
  color: var(--white);
  overflow: hidden;
}

.region-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 96px;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* 지역 타이틀: 영문 세리프 + 세로 헤어라인 + 한글 */
.region-title { display: inline-flex; align-items: center; gap: 1.25rem; min-width: 0; }

/* 기존 사이트 지역 타이틀(.pagetit_con .entit)과 동일: tahoma 28px bold */
.region-title .en {
  font-family: tahoma, Verdana, 'Segoe UI', sans-serif;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.region-title .ko {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  white-space: nowrap;
  opacity: 0.92;
}

.region-title .ko::before { content: ''; width: 1px; height: 22px; background: rgba(255, 255, 255, 0.45); }

/* ==========================================================
   9. 섹션 공통 (기존 디자인: 굵은 영문 타이틀)
   ========================================================== */
.section { padding: var(--section-y) 0; }
.section--sub { background: var(--region-sub); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.sec-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.9rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--text-primary);
}

/* 영문 타이틀 옆 한글 부제 (세로 헤어라인 구분) */
.sec-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.sec-sub::before {
  content: '';
  width: 1px;
  height: 0.95em;
  background: currentColor;
  opacity: 0.5;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: gap var(--transition-fast), opacity var(--transition-fast);
}

.more-link:hover { gap: 0.8rem; opacity: 0.7; }

/* ==========================================================
   11. 호텔 / 여행정보 (기존 디자인: 전체 폭 2단 배너)
   ========================================================== */
/* 기존 사이트처럼 화면 전체 폭, 높이 400px */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; }

.feature-card {
  position: relative;
  display: flex;
  min-height: 400px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.feature-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.feature-card:hover .bg { transform: scale(1.05); }

/* 기존 사이트 card-background 반투명 커버 (rgba(0,0,0,0.63)) */
.feature-card--hotel::before,
.feature-card--info .bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.63);
  pointer-events: none;
}

.feature-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 2.5rem 2rem 1.4rem;
}

.feature-kicker { font-size: 1.1rem; }

.feature-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.9rem;
  margin-top: 0.4rem;
  font-size: 1.6rem; /* 기존 h3 ≈ 25.5px */
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

/* 영문 타이틀 옆 한글 부제 (섹션 타이틀 .sec-sub 와 동일 스타일, 이미지 위 흰색) */
.feature-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

.feature-sub::before {
  content: '';
  width: 1px;
  height: 0.95em;
  background: currentColor;
  opacity: 0.6;
}

.feature-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: var(--fs-xs); opacity: 0.88; }
.feature-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* 배너 안 링크 버튼 (링크가 여러 개인 경우, 예: 북유럽 호텔 / 아이슬란드 호텔) */
.feature-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.feature-links .btn-line { height: 42px; padding: 0 1.3rem; font-size: 0.8rem; }

/* 공통 효과: 타이틀 밑줄 */
.feature-card .feature-title .ft-text {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.5s var(--ease);
}

.feature-card:hover .feature-title .ft-text { background-size: 100% 2px; }

/* 호텔 텍스트를 콘텐츠 영역(.container) 왼쪽 시작선에 맞춤 (배경 이미지는 화면 전체 폭 유지)
   카드 폭 = 화면 폭 / 2 이므로, 콘텐츠 시작 위치 = max(0, 카드 폭 - 컨테이너 폭 / 2) + 여백
   여백 = min(화면 폭 × 4%, 64px) = min(카드 폭 × 8%, 64px) */
.feature-card--hotel .feature-body { padding-left: calc(max(0px, 100% - var(--container) / 2) + min(8%, 64px)); }

/* 여행정보: 테마색 배경 패널 + 이미지 (패널이 좁아 부제는 타이틀 아래 줄, 가운데 정렬) */
.feature-card--info { background: var(--region); }
.feature-card--info .feature-body { width: 50%; justify-content: flex-start; }
.feature-card--info .feature-title { margin: auto 0; flex-direction: column; align-items: center; row-gap: 0.6rem; text-align: center; }
.feature-card--info .feature-sub::before { display: none; }

.feature-card--info .bg-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

/* ==========================================================
   13. 블로그 (기존 디자인: 플레인 카드 + 그림자 이미지)
   ========================================================== */
/* 리뉴얼 화면 폭 전체 사용, 카드 폭은 기존 사이트 수준(약 160px)으로 자동 배치 + 왼쪽 정렬 (스페인 시안과 동일) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  column-gap: 30px;
  row-gap: 2rem;
}

.blog-card { display: block; }

/* 블로그 이미지 원본 비율 (500 x 366, 기존 사이트와 동일하게 잘림 없이 표시) */
.blog-thumb {
  aspect-ratio: 500 / 366;
  overflow: hidden;
  background: var(--ivory-2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }

.blog-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 1rem;
  font-size: 0.75rem; /* 12px */
  line-height: 1.6;
  color: #666666;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-title { color: #333333; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.empty-text {
  grid-column: 1 / -1;
  padding: 3rem 0;
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
}

/* ==========================================================
   14. 공통 푸터 (잉크)
   ========================================================== */
.newsletter { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--gold-line); }

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.newsletter-title .serif { display: block; font-size: 1.9rem; font-style: italic; font-weight: 500; color: var(--gold-light); line-height: 1.1; margin-bottom: 0.5rem; }
.newsletter-title p { font-size: 0.9rem; color: var(--on-dark-2); }

.newsletter-form { display: flex; align-items: flex-end; gap: 1.5rem; flex: none; }

.newsletter-form input {
  height: 46px;
  padding: 0 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(243, 238, 230, 0.3);
  background: transparent;
  color: var(--on-dark);
  font-size: var(--fs-md);
  outline: 0;
  transition: border-color var(--transition-fast);
}

.newsletter-form input:focus { border-color: var(--on-dark); }
.newsletter-form input::placeholder { color: var(--on-dark-3); }
.newsletter-form input[name="nlsName"] { width: 150px; }
.newsletter-form input[name="nlsEmail"] { width: 280px; }
.newsletter-form .btn-line { height: 46px; }

.site-footer { background: var(--ink); color: rgba(243, 238, 230, 0.55); font-size: 0.8rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-title {
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--on-dark);
}

.footer-col p { line-height: 1.95; }
.footer-col p strong { color: var(--on-dark-2); font-weight: 400; }

.footer-call {
  display: block;
  margin: 0.2rem 0 0.7rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--on-dark);
  letter-spacing: 1px;
  line-height: 1.2;
}

.footer-links li { line-height: 2.3; }
.footer-links a { transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--on-dark); }

/* 타쿠미안스 로고: 기존 디자인 크기 (common.css / stayluxe.css 동일) */
.footer-partner { margin-top: 1.5rem; }
.footer-partner img { width: 220px; height: auto; border-radius: 5px; }

.footer-col .sns { margin-top: 1.2rem; margin-left: -8px; }

.footer-bottom { border-top: 1px solid var(--line-on-dark); }

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.75rem;
  color: var(--on-dark-3);
}

.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.footer-bottom-links a { color: rgba(243, 238, 230, 0.55); transition: color var(--transition-fast); }
.footer-bottom-links a:hover { color: var(--on-dark); }
.footer-bottom-links strong { color: var(--on-dark-2); }

/* 맨 위로 */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 8px 24px rgba(22, 19, 15, 0.25);
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility 0s linear 0.4s, background var(--transition-fast);
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity var(--transition-normal), transform var(--transition-normal), background var(--transition-fast); }
.to-top:hover { background: #000; }

/* ==========================================================
   15. 공통 컴포넌트 (공용 화면: 맞춤여행, 공지사항, 질문과 답변 …)
   - 버튼 / 입력 폼 / 선택 칩 / 데이터 표 / 상태 배지 / 페이징 / 모달
   - 테마색은 배경·포인트에만, 마우스 효과는 공통
   ========================================================== */

/* --- 버튼 --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 50px;
  padding: 0 2.2rem;
  border: 1px solid var(--region);
  border-radius: 2px;
  background: var(--region);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 10px 24px -14px rgba(22, 19, 15, 0.55);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-fast), gap var(--transition-fast);
}

.btn-primary .icon { font-size: 15px; }
.btn-primary:hover { transform: translateY(-2px); gap: 0.9rem; box-shadow: 0 16px 30px -14px rgba(22, 19, 15, 0.6); }
.btn-primary:disabled, .btn-primary.disabled { opacity: 0.5; pointer-events: none; }

.btn-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

/* --- 입력 폼 --- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 2.25rem;
}

.form-card + .form-card { margin-top: 1.25rem; }

.form-card-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.form-card-title .num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--region);
}

.form-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0.6rem 1.5rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.form-row:first-of-type { border-top: 0; padding-top: 0; }
.form-row:last-child { padding-bottom: 0; }

.form-label {
  padding-top: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-label .req { margin-left: 0.15rem; color: var(--region); }

.form-field { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; min-width: 0; }
.form-help { width: 100%; font-size: 0.78rem; color: var(--text-tertiary); }

.input, .select, .textarea {
  height: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--white);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 19, 15, 0.07);
}

.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.input[readonly] { background: var(--ivory); }

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b655c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 14px;
  cursor: pointer;
}

.textarea { width: 100%; height: auto; min-height: 160px; padding: 0.8rem 0.9rem; line-height: 1.7; resize: vertical; }

.input--xs { width: 92px; }
.input--sm { width: 140px; }
.input--md { width: 220px; }
.input--lg { width: 100%; max-width: 420px; }
.input--full { width: 100%; }

/* 휴대전화 (국번 - 앞자리 - 뒷자리) */
.phone-group { display: inline-flex; align-items: center; gap: 0.4rem; }
.phone-group .input, .phone-group .select { width: 92px; text-align: center; }
.phone-group .select { text-align: left; }
.phone-group .dash { color: var(--text-tertiary); }

/* 선택 칩 (라디오 / 체크박스를 칩 형태로) */
.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip { position: relative; display: inline-flex; }

.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chip span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.chip:hover span { border-color: var(--ink); color: var(--text-primary); }
.chip input:checked + span { background: var(--region); border-color: var(--region); color: var(--white); font-weight: 700; }
.chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.4; cursor: not-allowed; }

/* 단일 체크 (동의, 변경 가능 여부 등) */
.check { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: var(--text-secondary); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--region); cursor: pointer; }

/* 개인정보 동의 박스 / 폼 하단 버튼 영역 */
.agree-box {
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.agree-box .check { margin-top: 0.9rem; color: var(--text-primary); font-weight: 700; }
.agree-box a { text-decoration: underline; text-underline-offset: 3px; }

.form-actions { margin-top: 2rem; }

/* --- 데이터 표 (PC 표 → 모바일 카드) --- */
.data-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: 0.9rem; }

.data-table th {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.data-table td {
  padding: 1.05rem 0.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-primary);
  text-align: center;
  vertical-align: middle;
}

.data-table td.ta-left { text-align: left; }
.data-table tbody tr { transition: background var(--transition-fast); }
.data-table tbody tr:hover { background: var(--ivory); }
.data-table td a { font-weight: 700; }
.data-table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.data-table .empty-row td { padding: 4rem 0; color: var(--text-tertiary); }
.data-table .empty-row:hover { background: transparent; }

/* --- 필터 탭 (구분 / 지역 선택, 모바일은 한 줄 가로 스크롤) --- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.filter-tab {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.84rem;
  white-space: nowrap;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.filter-tab:hover { border-color: var(--ink); color: var(--text-primary); }
.filter-tab.is-active { background: var(--region); border-color: var(--region); color: var(--white); font-weight: 700; }

/* --- 검색어 입력 + 버튼 (공지사항 / 이벤트 등 목록) --- */
.search-field { display: flex; align-items: center; }
.search-field .input { width: 260px; border-right: 0; border-radius: 3px 0 0 3px; }

.search-field button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 44px;
  border-radius: 0 3px 3px 0;
  background: var(--ink);
  color: var(--white);
  transition: background var(--transition-fast);
}

.search-field button:hover { background: var(--region); }
.search-field button svg { width: 18px; height: 18px; }

/* --- 상태 배지 --- */
.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge--ready { background: #f1eee8; color: #6b655c; }
.badge--process { background: #e7eef8; color: #2f5d9a; }
.badge--done { background: #e6f2ea; color: #2e7d4f; }

/* --- 페이징 (서버 AppPagingUtil.getSitePagingHtml 마크업) --- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.3rem; margin-top: 2.25rem; }

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.pagination a.page-link:hover { background: var(--ivory-2); color: var(--text-primary); }
.pagination a.choice { background: var(--ink); color: var(--white); font-weight: 700; pointer-events: none; }
.pagination a.disabled { opacity: 0.3; pointer-events: none; }

/* 처음 / 이전 / 다음 / 마지막 : 글자 대신 기호 */
.pagination .pprev, .pagination .prev, .pagination .next, .pagination .nnext { font-size: 0; }
.pagination .pprev::before, .pagination .prev::before, .pagination .next::before, .pagination .nnext::before { font-size: 1rem; line-height: 1; }
.pagination .pprev::before { content: '\00AB'; }
.pagination .prev::before { content: '\2039'; }
.pagination .next::before { content: '\203A'; }
.pagination .nnext::before { content: '\00BB'; }

/* --- 모달 --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(22, 19, 15, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility 0s linear 0.4s;
}

.modal.is-open { opacity: 1; visibility: visible; transition: opacity var(--transition-normal); }

.modal-dialog {
  width: min(440px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2.25rem 2rem 2rem;
  background: var(--white);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform var(--transition-normal);
}

.modal.is-open .modal-dialog { transform: none; }

.modal-title { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.3px; }

/* 안내문 모달 (개인정보 수집 안내 등) : 조금 넓게 + 오른쪽 위 닫기 */
.modal-dialog--doc { position: relative; width: min(560px, 100%); }
.modal-dialog:focus { outline: none; }
.modal-x { position: absolute; top: 0.9rem; right: 0.9rem; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--text-tertiary); }
.modal-x:hover { color: var(--text-primary); }
.modal-x .icon { width: 18px; height: 18px; }
.modal-eyebrow { margin-bottom: 0.2rem; font-family: var(--font-serif); font-size: 0.95rem; font-style: italic; color: var(--gold-deep); }

/* 약관 · 안내 본문 (모달 · 단독 페이지 공통) */
.terms-doc { margin-top: 1.25rem; border-top: 2px solid var(--ink); font-size: 0.88rem; line-height: 1.8; color: var(--text-secondary); word-break: keep-all; }
.terms-doc section { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.terms-doc h4 { margin-bottom: 0.35rem; font-size: 0.92rem; font-weight: 800; color: var(--text-primary); }
.terms-doc ul { margin-top: 0.35rem; }
.terms-doc li { position: relative; padding-left: 0.85rem; }
.terms-doc li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.modal-desc { margin-top: 0.4rem; font-size: 0.85rem; color: var(--text-secondary); }
/* 입력 칸이 많아도 모달 폭을 넘지 않게 (grid 열이 내용 최소 폭만큼 넓어지는 것 막음) */
.modal-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; }
.modal-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.4rem; min-width: 0; }
.modal-field .input--full { width: 100%; min-width: 0; }
.modal-field > label { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); }
.modal-actions { display: flex; gap: 0.5rem; margin-top: 1.75rem; }
.modal-actions > *, .modal-actions > .btn-primary, .modal-actions > .btn-line { flex: 1; padding: 0; } /* 취소 · 확인 같은 폭 (모바일 .btn-primary 여백보다 우선) */

/* ==========================================================
   16. 반응형 (공통)
   ========================================================== */
@media (max-width: 1280px) {
  .header-main { gap: 1.5rem; }
  .gnb-link { padding: 0 0.75rem; }
  .gnb-link::after { left: 0.75rem; right: 0.75rem; }
  .search-box { width: 190px; }
  .logo-sub { display: none; }
  .mega-inner { grid-template-columns: 3fr 1fr 1fr 1fr; gap: 2rem; }
  .mega-cta { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  .site-top { top: 0; }
  .util-bar { display: none; }
  .header-main { gap: 0.75rem; }
  .logo-box img { width: 68px; }
  /* 모바일 상단: GNB가 없어 공간 여유 → 프리미엄 맞춤여행 문구 다시 표시 */
  .logo { gap: 0.5rem; }
  .logo .logo-sub { display: flex; }

  @media (max-width: 640px) {
    .logo .logo-sub { display: none; } /* 바로가기 아이콘 자리 확보 (문구 링크 = 서비스 안내 아이콘) */
  }
  .logo-sub { margin-left: 0.2rem; padding-left: 0.75rem; }
  .gnb, .header-actions > .stayluxe-link { display: none; }
  .header-actions { gap: 0; margin-right: -0.4rem; }
  .icon-btn { display: inline-flex; }

  /* 상단 바로가기 + 검색 / 메뉴 : 아이콘 + 작은 글자 */
  .quick-links { display: flex; align-items: center; }

  .quick-link,
  .header-actions > .icon-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 46px;
    height: 48px;
    color: var(--text-primary);
    transition: color var(--transition-fast), opacity var(--transition-fast);
  }

  .quick-link .icon, .header-actions > .icon-btn .icon { width: 21px; height: 21px; }
  .quick-link span, .header-actions > .icon-btn .icon-label { display: block; font-size: 10px; line-height: 1; letter-spacing: -0.3px; white-space: nowrap; color: var(--text-secondary); }
  .quick-link:hover { opacity: 0.6; }
  .quick-link.is-current, .quick-link.is-current span { color: var(--region); font-weight: 700; }

  /* 좁은 화면 (400px 이하, 예: 360px 안드로이드) : 로고 + 아이콘 6개가 한 줄에 들어가도록 아이콘 폭 축소 */
  @media (max-width: 400px) {
    .quick-link, .header-actions > .icon-btn { width: 42px; }
    .quick-link span, .header-actions > .icon-btn .icon-label { letter-spacing: -0.5px; }
  }

  /* 아주 좁은 화면 (360px 미만) */
  @media (max-width: 359px) {
    .logo-box img { width: 58px; }
    .quick-link, .header-actions > .icon-btn { width: 39px; }
    .quick-link span, .header-actions > .icon-btn .icon-label { font-size: 9px; letter-spacing: -0.5px; }
  }

  /* 모바일 검색: 헤더 아래 펼침 */
  .search-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    height: auto;
    padding: 0.75rem var(--gutter);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 10px 20px rgba(22, 19, 15, 0.06);
    display: none;
  }

  .search-box input {
    height: 44px;
    border-bottom: 1px solid var(--line-strong);
    font-size: 16px; /* iOS 확대 방지 */
  }

  .search-box input:focus { border-color: var(--ink); }
  .search-box button { width: 44px; height: 44px; }

  .site-header.search-open .search-box { display: flex; }

  .blog-grid { column-gap: 20px; }

  .feature-row { grid-template-columns: 1fr; }
  /* 1단 배치: 카드 폭 = 화면 폭 → 콘텐츠 여백(4%)과 동일하게 */
  .feature-card--hotel .feature-body,
  .feature-card--info .feature-body { padding-left: var(--gutter); }
  .feature-card { min-height: 340px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .footer-partner img { width: 200px; }
  .newsletter .container { flex-direction: column; align-items: stretch; gap: 1.75rem; }
  .newsletter-form input[name="nlsEmail"] { flex: 1; width: auto; }
}

@media (max-width: 768px) {
  :root { --section-y: 2.75rem; --grid-gap: 1rem; --fs-xl: 1.6rem; }

  .region-band .container { min-height: 72px; padding-top: 1rem; padding-bottom: 1rem; }
  .region-title .en { font-size: 26px; }

  /* 공통 컴포넌트 */
  .form-card { padding: 1.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .form-label { padding-top: 0; }
  .input--md, .input--lg { width: 100%; max-width: none; }
  .agree-box { padding: 1.25rem; }
  /* 모바일 버튼 높이 통일 (기본 버튼 / 테두리 버튼) */
  .btn-primary, .btn-line { height: 46px; }
  .btn-primary { padding: 0 1.6rem; }
  /* 페이징: 한 줄 유지 (모바일은 페이지 번호 5개로 요청) */
  .pagination { flex-wrap: nowrap; gap: 2px; }
  .pagination a { min-width: 32px; height: 32px; padding: 0 0.3rem; font-size: 0.84rem; }

  /* 검색어 입력: 한 줄 전체 (16px 미만이면 iOS 가 입력 시 화면 확대) */
  .search-field { width: 100%; }
  .search-field .input { flex: 1; width: auto; min-width: 0; font-size: 16px; }

  /* 필터 탭: 한 줄 가로 스크롤 (화면 끝까지) */
  .filter-tabs { flex-wrap: nowrap; min-width: 0; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex: none; height: 34px; padding: 0 0.9rem; }

  /* 데이터 표 → 카드 (각 칸의 data-label 을 항목명으로 표시) */
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; }
  .data-table thead { display: none; }
  .data-table { border-top: 1px solid var(--ink); }
  .data-table tr { padding: 1rem 0.25rem; border-bottom: 1px solid var(--line); }
  .data-table td { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; border: 0; text-align: right; }
  .data-table td::before { content: attr(data-label); flex: none; color: var(--text-tertiary); font-size: 0.8rem; text-align: left; }
  .data-table td.ta-left { text-align: right; }
  .data-table .empty-row td { justify-content: center; }
  .data-table .empty-row td::before { content: none; }

  .sec-head { margin-bottom: 1.5rem; }
  .sec-title { font-size: 1.4rem; column-gap: 0.7rem; }
  .sec-sub { gap: 0.7rem; font-size: 0.8rem; letter-spacing: 0.5px; }

  .blog-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); column-gap: 12px; row-gap: 1.75rem; }

  .feature-card { min-height: 280px; }
  .feature-body { padding: 1.75rem; }
  .feature-kicker { font-size: var(--fs-md); }
  .feature-title { font-size: 1.4rem; column-gap: 0.7rem; }
  .feature-sub { gap: 0.7rem; font-size: 0.8rem; letter-spacing: 0.5px; }
  .feature-links { margin-top: 1rem; gap: 0.5rem; }
  .feature-links .btn-line { height: 38px; padding: 0 1rem; }

  .newsletter .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .newsletter-form { flex-wrap: wrap; gap: 1rem; }
  .newsletter-form input[name="nlsName"] { width: calc(35% - 0.5rem); }
  .newsletter-form input[name="nlsEmail"] { flex: none; width: calc(65% - 0.5rem); }
  .newsletter-form .btn-line { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 2.5rem; }
  .footer-col--services { display: none; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }

  .to-top { right: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}

@media (max-width: 480px) {
  :root { --fs-xl: 1.4rem; }

  /* 제목 띠 : 한글 제목이 길면 다음 줄로 (잘리지 않게) */
  .region-title { flex-wrap: wrap; gap: 0.4rem 0.8rem; }
  .region-title .en { font-size: 24px; }
  .region-title .ko { gap: 0.8rem; letter-spacing: 3px; white-space: normal; }
  /* 휴대전화 입력 : 화면 폭에 맞춰 세 칸이 함께 줄어듦 (글자 확대 · 좁은 화면에서도 한 줄 유지) */
  .phone-group { display: flex; width: 100%; max-width: 320px; }
  .phone-group .input { flex: 1 1 0; width: auto; min-width: 0; }
  .phone-group .select { flex: 0 0 auto; width: 5.6em; min-width: 0; padding-right: 1.8em; } /* 국번 : 글자 크기에 맞춰 넓어짐 (010 이 잘리지 않게) */
  .phone-group .dash { flex: none; }

  /* 모달 : 좌우 여백 줄여 입력 칸을 넓게 */
  .modal { padding: 0.75rem; }
  .modal-dialog { max-height: calc(100vh - 1.5rem); padding: 1.75rem 1.25rem 1.25rem; }
  .modal-dialog--doc { padding-top: 2.25rem; }
  .modal-field .phone-group { max-width: none; }

  .sec-title { font-size: 1.3rem; }
  .sec-head .sec-title { min-width: 0; } /* 제목이 길면 줄바꿈 → more 링크가 화면 밖으로 밀리지 않게 */
  .sec-sub { white-space: normal; }
  .feature-title { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
