/* ── 홈 페이지 전용 스타일 ── */

/* ── 홈 팝업 ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: #07090e;
  border-radius: 14px;
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: popup-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popup-in {
  from { transform: scale(0.88) translateY(16px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

.popup-img-wrap {
  position: relative;
  line-height: 0;
}

.popup-img-wrap a {
  display: block;
  line-height: 0;
}

.popup-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.popup-footer {
  padding: 14px 16px;
  background: #07090e;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.popup-reserve-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  background: #c9a96e;
  color: #07090e;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.popup-reserve-btn:hover {
  background: #d9b97e;
  transform: translateY(-1px);
}

@media (max-width: 520px) {
  .popup-modal { max-width: 92vw; }
}

/* 앵커 오프셋 */
#features,
#banner,
#inquiry {
  scroll-margin-top: 72px;
}

/* ── 메인 슬라이더 ── */
.main-swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.6;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.slide-label {
  font-size: 0.78rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
}

.slide-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
}

.slide-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.5px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: var(--target-opacity, 1);
    transform: translateY(0);
  }
}

.slide-label.anim {
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.05s;
  --target-opacity: 0.75;
}

.slide-title.anim {
  animation: slideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.22s;
  --target-opacity: 1;
}

.slide-desc.anim {
  animation: slideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.38s;
  --target-opacity: 0.85;
}

.swiper-button-next,
.swiper-button-prev {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #fff;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.55);
  width: 9px;
  height: 9px;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 4px;
  transition: width 0.3s;
}

/* ── 평방형 섹션 ── */
#features {
  background: #fff;
  padding: 100px 24px;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.unit-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.unit-tab {
  padding: 12px 40px;
  background: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
  border-right: 1px solid #e0e0e0;
}

.unit-tab:last-child {
  border-right: none;
}

.unit-tab.active {
  background: #0d1117;
  color: #c9a96e;
}

.unit-tab:hover:not(.active) {
  background: #f5f5f5;
  color: #333;
}

.unit-panels {
  position: relative;
}

.unit-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  overflow-x: hidden;
}

.unit-panel.active {
  display: flex;
}

.unit-main-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}

.unit-sub-placeholder {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unit-coming-soon {
  color: #999;
  font-size: 0.95rem;
  font-weight: 600;
}

.unit-sub-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .unit-sub-imgs {
    grid-template-columns: 1fr;
  }
}

.unit-sub-imgs img,
.unit-sub-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.unit-sub-group {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unit-sub-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
}

.unit-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .unit-sub-grid {
    grid-template-columns: 1fr;
  }
}

.unit-sub-grid img:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ── 비주얼 배너 섹션 ── */
#banner {
  width: 100%;
  overflow: hidden;
  padding: 40px 160px;
  box-sizing: border-box;
}

#banner img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  #banner {
    padding: 20px 16px;
  }
}

/* ── 방문 예약 폼 섹션 ── */
#inquiry {
  background: #0d1117;
  padding: 100px 24px;
}

.inquiry-inner {
  max-width: 680px;
  margin: 0 auto;
}

.inquiry-header {
  text-align: center;
  margin-bottom: 52px;
}

.inquiry-label {
  font-size: 0.75rem;
  letter-spacing: 5px;
  color: #c9a96e;
  margin-bottom: 14px;
}

.inquiry-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.inquiry-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
}

#inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.required {
  color: #c9a96e;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  color-scheme: dark;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #c9a96e;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

#visit-date {
  cursor: pointer;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c9a96e'%3E%3Cpath d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #161b22;
  color: #fff;
}

.form-group select:invalid {
  color: rgba(255, 255, 255, 0.25);
}

/* Flatpickr 캘린더 */
.flatpickr-calendar {
  background: #161b22;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #161b22;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months,
span.flatpickr-weekday {
  background: #161b22;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month .numInputWrapper,
.flatpickr-current-month .flatpickr-monthDropdown-months,
span.flatpickr-weekday {
  color: rgba(255, 255, 255, 0.75);
  fill: rgba(255, 255, 255, 0.75);
}

.flatpickr-current-month input.cur-year {
  color: rgba(255, 255, 255, 0.75);
}

.flatpickr-prev-month:hover svg,
.flatpickr-next-month:hover svg {
  fill: #c9a96e;
}

.flatpickr-day {
  color: rgba(255, 255, 255, 0.85);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(255, 255, 255, 0.15);
}

.flatpickr-day:hover {
  background: rgba(201, 169, 110, 0.18);
  border-color: transparent;
}

.flatpickr-day.today {
  border-color: #c9a96e;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #c9a96e;
  border-color: #c9a96e;
  color: #0d1117;
  font-weight: 700;
}

/* 개인정보 박스 */
.privacy-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px 24px;
}

.privacy-box-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 14px;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  text-align: center;
  line-height: 1.6;
}

.privacy-table th {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.privacy-notice {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.privacy-consent {
  gap: 12px;
}

.consent-question {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.radio-group {
  display: flex;
  gap: 28px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  user-select: none;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: #c9a96e;
  background: #c9a96e;
  box-shadow: inset 0 0 0 4px #0d1117;
}

.radio-label:hover .radio-custom {
  border-color: rgba(201, 169, 110, 0.6);
}

.form-error {
  font-size: 0.82rem;
  color: #ff6b6b;
  min-height: 18px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #c9a96e;
  color: #0d1117;
  border: none;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
  width: 100%;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #dbbe85;
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-icon {
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.submit-btn:hover .submit-icon {
  transform: translateX(4px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 0;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #c9a96e;
  color: #0d1117;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.success-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ════════════════════════════════
   홈페이지 추가 섹션
   ════════════════════════════════ */

/* ── CTA 1 : 숫자 강조형 ── */
.home-cta1 {
  background: #07090e;
  padding: clamp(64px, 9vw, 112px) clamp(16px, 5vw, 60px);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.home-cta1-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.home-cta1-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c9a96e;
}

.home-cta1-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 1px;
}

.home-cta1-stats {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  justify-content: center;
}

.home-cta1-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

.home-cta1-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.home-cta1-num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #c9a96e;
  line-height: 1;
  letter-spacing: -1px;
}

.home-cta1-unit {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.home-cta1-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

.home-cta1-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-cta1-btn {
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: 0.2s;
}

.home-cta1-btn--gold {
  background: #c9a96e;
  color: #07090e;
}
.home-cta1-btn--gold:hover { background: #d9b97e; }

.home-cta1-btn--outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.home-cta1-btn--outline:hover { background: rgba(255,255,255,0.07); }

/* ── 이벤트 배너 섹션 ── */
.event-banner {
  width: 100%;
  line-height: 0;
}
.event-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 홍보 설명 섹션 ── */
.home-promo {
  background: #0a0c12;
  padding: clamp(64px, 9vw, 112px) clamp(16px, 5vw, 60px);
  border-top: 1px solid rgba(201,169,110,0.12);
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.home-promo-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(28px, 4vw, 40px);
}

.home-promo-badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 30px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.35);
  color: #c9a96e;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.home-promo-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

.home-promo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
}

.home-promo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.home-promo-item:last-child {
  border-bottom: none;
}

.home-promo-item:hover {
  background: rgba(201,169,110,0.05);
}

.home-promo-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.4);
  color: #c9a96e;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-promo-check::after {
  content: '✔';
}

.home-promo-item strong {
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.home-promo-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(201,169,110,0.15);
  color: #c9a96e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  vertical-align: middle;
}

.home-promo-closing {
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

.home-promo-closing em {
  font-style: normal;
  color: #c9a96e;
}

.home-promo-closing strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.home-promo-cta {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  background: #c9a96e;
  color: #07090e;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.home-promo-cta:hover {
  background: #d9b97e;
  transform: translateY(-1px);
}

/* ── CTA 2 : 전화 강조형 ── */
.home-cta2 {
  background: linear-gradient(135deg, #0d1117 0%, #111827 100%);
  border-top: 1px solid rgba(201,169,110,0.15);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  padding: clamp(56px, 8vw, 100px) clamp(16px, 5vw, 60px);
}

.home-cta2-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 680px) {
  .home-cta2-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .home-cta2-btns { justify-content: center; }
}

.home-cta2-label {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 14px;
}

.home-cta2-title {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.home-cta2-sub {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
}

.home-cta2-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-cta2-phone {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #c9a96e;
  letter-spacing: 2px;
}

.home-cta2-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-cta2-btn {
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: 0.2s;
}

.home-cta2-btn--gold {
  background: #c9a96e;
  color: #07090e;
}
.home-cta2-btn--gold:hover { background: #d9b97e; }

.home-cta2-btn--outline {
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
}
.home-cta2-btn--outline:hover { background: rgba(255,255,255,0.07); }

/* ── 페이지 소개 섹션 ── */
.home-pages {
  background: #07090e;
  padding: clamp(64px, 9vw, 112px) clamp(16px, 5vw, 60px);
}

.home-pages-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-pages-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.home-pages-label {
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 12px;
}

.home-pages-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.home-pages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 20px);
}

@media (max-width: 560px) {
  .home-pages-grid { grid-template-columns: 1fr; }
}

.home-page-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  aspect-ratio: 4 / 3;
  background: #1a1f2e;
}

.home-page-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  filter: brightness(0.45);
}

.home-page-card:hover .home-page-card-img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

.home-page-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
}

.home-page-card-label {
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 6px;
}

.home-page-card-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.home-page-card-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.home-page-card::after {
  content: '→';
  position: absolute;
  top: clamp(16px, 2.5vw, 24px);
  right: clamp(16px, 2.5vw, 24px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.25s, border-color 0.25s;
}

/* ── 세제혜택 섹션 ── */
.tax-benefit {
  background: #06080f;
  padding: clamp(64px, 9vw, 112px) clamp(16px, 5vw, 60px);
  border-top: 1px solid rgba(201,169,110,0.15);
}

.tax-benefit-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 헤더 */
.tax-benefit-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.tax-benefit-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #c0392b;
  border-radius: 8px;
  padding: 8px 20px;
  margin-bottom: 24px;
}

.tax-badge-law {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.tax-badge-date {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.tax-benefit-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.tax-benefit-title em {
  font-style: normal;
  color: #FFD700;
}

.tax-benefit-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 20px;
}

.tax-benefit-sub strong {
  color: #fff;
  font-weight: 700;
}

.tax-benefit-deadline {
  display: inline-block;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.4);
  color: #FFD700;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

/* 3카드 그리드 */
.tax-benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.tax-card {
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tax-card--red  { background: #1a0505; border: 1px solid rgba(220,50,50,0.35); }
.tax-card--green{ background: #031108; border: 1px solid rgba(39,174,96,0.35); }
.tax-card--blue { background: #030d1a; border: 1px solid rgba(52,152,219,0.35); }

.tax-card-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

.tax-card--red  .tax-card-num { color: #ff4444; }
.tax-card--green .tax-card-num { color: #27ae60; }
.tax-card--blue  .tax-card-num { color: #3498db; }

.tax-card-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
}

.tax-card-title em {
  font-style: normal;
}

.tax-card--red  .tax-card-title em { color: #ff4444; }
.tax-card--green .tax-card-title em { color: #27ae60; }
.tax-card--blue  .tax-card-title em { color: #3498db; }

/* 취득세 공식 */
.tax-card-formula {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 16px;
}

.tax-formula-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tax-formula-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.tax-formula-val {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #fff;
}

.tax-formula-note {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

.tax-formula-result .tax-formula-val { color: #ff4444; }

.tax-formula-plus,
.tax-formula-eq {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
}

.tax-card-period {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 8px 12px;
}

/* 주택수 제외 카드 */
.tax-card-highlight {
  background: rgba(39,174,96,0.15);
  border: 1px solid rgba(39,174,96,0.4);
  color: #2ecc71;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
}

.tax-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tax-card-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.tax-card-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-size: 0.75rem;
}

.tax-card--blue .tax-card-list li::before { color: #3498db; }

/* 종부세·양도세 카드 */
.tax-card-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tax-col-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 10px;
}

.tax-card-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
  line-height: 1.5;
}

/* 하단 요약 */
.tax-benefit-bottom {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 24px;
}

.tax-bottom-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c9a96e;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.tax-bottom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.tax-bottom-list li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.tax-bottom-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #c9a96e;
  font-size: 0.78rem;
}


.tax-benefit-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* 반응형 */
@media (max-width: 960px) {
  .tax-benefit-cards {
    grid-template-columns: 1fr;
  }
  .tax-bottom-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tax-card-cols {
    grid-template-columns: 1fr;
  }
  .tax-card-formula {
    justify-content: center;
  }
}

/* ── 인프라 스트립 ── */
.infra-strip {
  background: #0a0d15;
  border-top: 1px solid rgba(201,169,110,0.12);
  border-bottom: 1px solid rgba(201,169,110,0.12);
}

.infra-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 5vw, 60px);
}

.infra-strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a96e;
  text-align: center;
  margin-bottom: 10px;
}

.infra-strip-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.infra-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 16px;
}

.infra-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.infra-pillar-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.infra-pillar-kw {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.infra-pillar-detail {
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.infra-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* 스크롤 chips */
.infra-chips-wrap {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.infra-chips-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.infra-chips-wrap:hover .infra-chips-track {
  animation-play-state: paused;
}

.infra-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(201,169,110,0.3);
  color: rgba(201,169,110,0.8);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .infra-pillar-detail { display: none; }
  .infra-pillar { padding: 0 clamp(12px, 3vw, 24px); }
  .infra-divider { height: 28px; }
}
