/* ==========================================================================
   트위즐 풀빌라 (Twizzle Pool Villa) - 독채 빌라 상세 페이지 공통 스타일
   브랜드 아이덴티티: Deep Ocean Navy (#0f2b3c), Ocean Blue (#0077b6), Aqua (#00b4d8), Coral (#fb8500), Kakao (#fee500)
   ========================================================================== */

:root {
  --ocean-deep: #0f2b3c;
  --ocean-blue: #0077b6;
  --aqua-bright: #00b4d8;
  --aqua-light: #90e0ef;
  --sun-yellow: #ffb703;
  --cocktail-coral: #fb8500;
  
  --bg-light: #f4f9fc;
  --bg-white: #ffffff;
  --text-dark: #0f2b3c;
  --text-muted: #526575;
  --border-soft: #d0e8f2;
  --border-card: #e2eef5;
  --card-shadow: 0 10px 30px rgba(0, 119, 182, 0.08);
  --card-shadow-hover: 0 16px 40px rgba(0, 119, 182, 0.14);
  
  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  --font-brand: 'Plus Jakarta Sans', var(--font-main);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  letter-spacing: -0.3px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  word-break: keep-all;
  padding-bottom: 90px;
}

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

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

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* ==========================================================================
   1. 헤더 & 상단 네비게이션
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-soft);
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.06);
  z-index: 1000;
  height: 78px;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 119, 182, 0.15));
}

.brand-text-box {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 21px;
  font-weight: 800;
  color: var(--ocean-blue);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-sub {
  font-family: var(--font-brand);
  font-size: 9.5px;
  font-weight: 800;
  color: var(--cocktail-coral);
  letter-spacing: 1.6px;
  margin-top: 2px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ocean-deep);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.topbar-link:hover {
  color: var(--ocean-blue);
  background: rgba(0, 180, 216, 0.08);
}

.topbar-cta {
  background: #fee500;
  color: #191919;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 25px;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(254, 229, 0, 0.55);
}

/* ==========================================================================
   2. 브레드크럼 & 서브 내비게이션
   ========================================================================== */
.breadcrumb-bar {
  padding: 18px 0 10px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-bar a {
  color: var(--ocean-blue);
  font-weight: 600;
}

.breadcrumb-bar a:hover {
  text-decoration: underline;
}

.breadcrumb-bar .sep {
  color: #94a3b8;
  font-size: 11px;
}

.breadcrumb-bar .current {
  color: var(--ocean-deep);
  font-weight: 700;
}

/* ==========================================================================
   3. 히어로 섹션 (Villa Hero)
   ========================================================================== */
.villa-hero {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 36px 38px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
}

.hero-pill-brand {
  background: linear-gradient(135deg, var(--ocean-blue), #0284c7);
  color: #fff;
}

.hero-pill-gold {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.hero-pill-green {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.villa-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--ocean-deep);
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.8px;
}

.villa-hero-subtitle {
  font-family: var(--font-brand);
  font-size: 15px;
  font-weight: 700;
  color: var(--ocean-blue);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.villa-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-specs-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 20px;
  background: var(--bg-light);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spec-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--ocean-blue);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.06);
}

.spec-meta strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ocean-deep);
  line-height: 1.2;
}

.spec-meta span {
  font-size: 11.5px;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-kakao {
  background: #fee500;
  color: #191919;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(254, 229, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary-kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.6);
}

.btn-secondary-gallery {
  background: linear-gradient(135deg, var(--aqua-bright), var(--ocean-blue));
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-secondary-gallery:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 119, 182, 0.35);
}

.btn-outline-map {
  background: #ffffff;
  color: var(--ocean-deep);
  border: 1.5px solid var(--border-soft);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline-map:hover {
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
  background: var(--bg-light);
}

/* ==========================================================================
   4. 갤러리 섹션 (Gallery Showcase)
   ========================================================================== */
.gallery-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.section-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.sec-title-group h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ocean-deep);
  line-height: 1.3;
}

.sec-title-group p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.gallery-action-hint {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ocean-blue);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 180, 216, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
}

/* 갤러리 그리드 레이아웃 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 119, 182, 0.18);
}

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

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

/* 첫 번째 메인 타일은 2x2 차지 */
.gallery-tile-featured {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 380px;
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 43, 60, 0.75) 0%, rgba(15, 43, 60, 0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}

.gallery-tile:hover .gallery-tile-overlay {
  opacity: 1;
}

.tile-caption {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.tile-zoom-icon {
  align-self: flex-end;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.gallery-view-all-btn {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  background: var(--bg-light);
  border: 1.5px dashed var(--border-soft);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ocean-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.gallery-view-all-btn:hover {
  background: #e2f3fb;
  border-color: var(--ocean-blue);
  color: var(--ocean-deep);
}

/* ==========================================================================
   5. 유튜브 동영상 섹션 (Video Tour)
   ========================================================================== */
.video-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder-box {
  background: linear-gradient(135deg, #0f2b3c, #075f7c);
  color: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}

.video-placeholder-box i {
  font-size: 48px;
  color: var(--sun-yellow);
  margin-bottom: 14px;
}

.video-placeholder-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.video-placeholder-box p {
  font-size: 14px;
  color: #e0f2fe;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ==========================================================================
   6. 상세 스펙 및 시설 그리드 (Specs & Amenities)
   ========================================================================== */
.specs-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.specs-table-card {
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.specs-table tr:nth-child(even) {
  background: #f8fcfe;
}

.specs-table th {
  width: 25%;
  padding: 16px 20px;
  background: #eef7fb;
  color: var(--ocean-deep);
  font-weight: 800;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}

.specs-table td {
  padding: 16px 20px;
  color: #334155;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.6;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.amenity-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.amenity-card:hover {
  transform: translateY(-2px);
  border-color: var(--aqua-bright);
}

.amenity-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  color: var(--ocean-blue);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 119, 182, 0.08);
}

.amenity-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ocean-deep);
  margin-bottom: 3px;
}

.amenity-text p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   7. 위치 및 지도 섹션 (Location & Map)
   ========================================================================== */
.location-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.location-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 18px rgba(0, 119, 182, 0.08);
  margin-bottom: 20px;
  height: 420px;
  background: #eef8fd;
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.location-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  background: #f8fcfe;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  margin-bottom: 20px;
}

.location-meta-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ocean-deep);
}

.location-meta-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.btn-open-google-map {
  background: linear-gradient(135deg, var(--aqua-bright), var(--ocean-blue));
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 11px 20px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.2);
}

.btn-open-google-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 119, 182, 0.3);
}

/* 위치 안내 알림 박스 (빌라 K 특수 주의사항 등) */
.location-notice-box {
  background: #fff8eb;
  border: 1.5px solid #fde047;
  border-left: 4px solid var(--cocktail-coral);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 22px;
}

.location-notice-box strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 6px;
}

.location-notice-box p {
  font-size: 13px;
  color: #78350f;
  line-height: 1.7;
  margin: 0;
}

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

.transit-card {
  padding: 16px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.transit-card i {
  font-size: 22px;
  color: var(--ocean-blue);
}

.transit-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ocean-deep);
}

.transit-card span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   8. 요금 및 서비스 섹션 (Pricing & Services)
   ========================================================================== */
.pricing-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.rate-summary-box {
  background: linear-gradient(135deg, var(--ocean-deep), #0b485b);
  color: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.rate-summary-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--sun-yellow);
  margin-bottom: 6px;
}

.rate-summary-info p {
  font-size: 13.5px;
  color: #e0f2fe;
  line-height: 1.6;
}

.rate-figure-wrap {
  text-align: right;
}

.rate-figure {
  font-family: var(--font-brand);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.rate-figure small {
  font-size: 14px;
  color: var(--aqua-light);
  font-weight: 600;
}

.rate-subtext {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

.services-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card-included {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  padding: 24px;
}

.service-card-included h4 {
  font-size: 17px;
  font-weight: 800;
  color: #166534;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-optional {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  padding: 24px;
}

.service-card-optional h4 {
  font-size: 17px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}

.service-list li i {
  margin-top: 3px;
  flex-shrink: 0;
}

.service-card-included .service-list li i {
  color: #16a34a;
}

.service-card-optional .service-list li i {
  color: #2563eb;
}

/* ==========================================================================
   9. 이용 규정 및 예약 절차 (Rules & Checklist)
   ========================================================================== */
.rules-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.rule-box {
  background: var(--bg-light);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 20px 18px;
}

.rule-box-num {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 800;
  color: var(--cocktail-coral);
  margin-bottom: 8px;
}

.rule-box strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ocean-deep);
  margin-bottom: 6px;
}

.rule-box p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.tamtru-info-bar {
  background: #eaf8fc;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tamtru-info-text {
  font-size: 13px;
  color: var(--ocean-deep);
  line-height: 1.5;
}

.tamtru-info-text strong {
  color: var(--ocean-blue);
}

.tamtru-info-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ocean-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tamtru-info-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   10. 빌라 FAQ 아코디언 (FAQ Section)
   ========================================================================== */
.faq-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.faq-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: 14px;
  background: var(--bg-light);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: var(--aqua-bright);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.08);
}

.faq-question {
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ocean-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question i {
  color: var(--ocean-blue);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border-card);
  padding-top: 14px;
}

/* ==========================================================================
   11. 다른 빌라 비교 (Other Villas Compare)
   ========================================================================== */
.compare-villas-section {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.compare-card {
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--aqua-bright);
}

.compare-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.compare-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.compare-card:hover .compare-card-thumb img {
  transform: scale(1.05);
}

.compare-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 43, 60, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 14px;
}

.compare-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.compare-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ocean-deep);
  margin-bottom: 4px;
}

.compare-card-meta {
  font-size: 12.5px;
  color: var(--ocean-blue);
  font-weight: 700;
  margin-bottom: 8px;
}

.compare-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.compare-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-card);
}

.compare-price {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ocean-deep);
}

.compare-link-btn {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ocean-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   12. 하단 카카오 상담 CTA 배너 (Bottom Callout)
   ========================================================================== */
.bottom-cta-banner {
  background: linear-gradient(135deg, var(--ocean-deep), #064052);
  color: #fff;
  border-radius: 24px;
  padding: 44px 40px;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 16px 40px rgba(15, 43, 60, 0.25);
}

.bottom-cta-copy h3 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.bottom-cta-copy p {
  font-size: 14.5px;
  color: #cde6ef;
  line-height: 1.6;
}

.bottom-cta-btn {
  background: #fee500;
  color: #191919;
  font-size: 16px;
  font-weight: 900;
  padding: 16px 30px;
  border-radius: 35px;
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(254, 229, 0, 0.6);
}

/* ==========================================================================
   13. 푸터 (Footer)
   ========================================================================== */
.footer-wrap {
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border-soft);
}

.footer-brand {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 800;
  color: var(--ocean-blue);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ocean-deep);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ocean-blue);
  text-decoration: underline;
}

/* ==========================================================================
   14. 모바일 하단 플로팅 바 (Mobile Sticky Action Bar)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 85px;
  }
  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1.5px solid var(--border-soft);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }
  .mobile-btn-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #e0f2fe;
    color: var(--ocean-blue);
    border: none;
    border-radius: 25px;
    font-size: 13.5px;
    font-weight: 800;
    padding: 12px 10px;
    cursor: pointer;
  }
  .mobile-btn-kakao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fee500;
    color: #191919;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 900;
    padding: 12px 14px;
    box-shadow: 0 3px 10px rgba(254, 229, 0, 0.4);
  }
}

/* ==========================================================================
   15. 풀스크린 라이트박스 갤러리 모달 (Lightbox Modal)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 37, 0.97);
  backdrop-filter: blur(14px);
  z-index: 10005;
  display: none;
  flex-direction: column;
  user-select: none;
}

.lightbox-modal.show {
  display: flex;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-header {
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.lightbox-title-box h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.lightbox-title-box p {
  font-size: 12.5px;
  color: var(--aqua-light);
}

.lightbox-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-counter {
  background: rgba(0, 180, 216, 0.2);
  border: 1px solid var(--aqua-bright);
  color: var(--aqua-light);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 16px;
  touch-action: pan-y;
}

.lightbox-main-img-box {
  max-width: 95%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(15, 43, 60, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--aqua-bright);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-thumbs-wrap {
  height: 88px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
}

.lightbox-thumb-item {
  height: 64px;
  width: 94px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.lightbox-thumb-item.active {
  opacity: 1;
  border-color: var(--aqua-bright);
  transform: scale(1.05);
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   16. 미디어 쿼리 (반응형 모바일 최적화)
   ========================================================================== */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-tile-featured {
    grid-column: span 3;
    grid-row: span 1;
    min-height: 280px;
  }
  .services-two-col {
    grid-template-columns: 1fr;
  }
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transit-grid {
    grid-template-columns: 1fr;
  }
  .compare-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    height: 68px;
  }
  .topbar-nav .topbar-link {
    display: none;
  }
  .topbar-cta {
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .villa-hero {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .villa-hero-title {
    font-size: 26px;
  }
  .hero-specs-summary {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
  }
  .gallery-section, .video-section, .specs-section, 
  .location-section, .pricing-section, .rules-section, 
  .faq-section, .compare-villas-section {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-tile-featured {
    grid-column: span 2;
    min-height: 220px;
  }
  .specs-table th, .specs-table td {
    padding: 12px 14px;
    font-size: 13.5px;
  }
  .location-map-wrap {
    height: 300px;
  }
  .rate-summary-box {
    padding: 22px 20px;
  }
  .rate-figure {
    font-size: 26px;
  }
  .bottom-cta-banner {
    padding: 28px 22px;
    border-radius: 20px;
  }
  .bottom-cta-copy h3 {
    font-size: 22px;
  }
  .bottom-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }
  .lightbox-nav-btn {
    display: none;
  }
}
