@charset "utf-8";

/* ═══════════ 더 팰리스트 데시앙 Theme CSS ═══════════ */

:root {
  --brand: #af1e57;
  --brand-light: #d64b7a;
  --brand-dark: #8a1745;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--slate-50);
  color: var(--slate-900);
  min-height: 100vh;
  padding-bottom: 100px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
#hd_login_msg { display: none; }
#wrapper { max-width: 100%; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  background: var(--brand);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: radial-gradient(circle at center, #fff, transparent);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.2s;
}
.hero-phone:hover { background: rgba(255,255,255,0.2); }
.hero-subtitle {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-title span {
  font-weight: 300;
  opacity: 0.9;
}
.hero-desc {
  font-size: 18px;
  opacity: 0.8;
  font-weight: 300;
  margin-bottom: 32px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.badge {
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
}
.badge--primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.badge--secondary {
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ═══════════ HERO MENU ═══════════ */
.hero-menu {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.hero-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.hero-menu-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.hero-menu-btn.active {
  background: #fff;
  color: var(--brand);
}

/* ═══════════ HERO COMPACT (게시판용) ═══════════ */
.hero--compact {
  padding: 32px 24px;
}
.hero--compact .hero-title {
  font-size: 32px;
  margin-bottom: 0;
}
.hero--compact .hero-phone {
  margin-bottom: 16px;
}
.hero-logo {
  display: block;
  text-decoration: none;
  color: #fff;
  margin-bottom: 20px;
}
.hero-logo .hero-subtitle {
  display: block;
  margin-bottom: 8px;
}

/* ═══════════ CONTAINER ═══════════ */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════ VIDEO SECTION ═══════════ */
.video-section {
  margin-top: 48px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.promo-video {
  width: 100%;
  display: block;
  background: #000;
}

/* ═══════════ IMAGE PLACEHOLDER ═══════════ */
.image-placeholder {
  width: 100%;
  height: 400px;
  background: var(--slate-100);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--slate-300);
  margin-top: -32px;
  color: var(--slate-400);
}
.image-placeholder svg { margin-bottom: 12px; }
.image-placeholder p { font-size: 14px; font-weight: 500; }
.image-placeholder--small {
  height: 250px;
  margin-top: 0;
}
.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.image-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: #fff;
}
.image-box img {
  width: 100%;
  height: auto;
  display: block;
}
.image-caption {
  padding: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  background: #fff;
}

/* ═══════════ SALES GRID ═══════════ */
.sales-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

/* ═══════════ BENEFIT CARD ═══════════ */
.benefit-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-top: 4px solid var(--brand);
}
.benefit-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--brand);
}
.benefit-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
}
.benefit-item {
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 12px;
}
.benefit-item--highlight {
  background: #fdf2f6;
  border: 1px solid #fce7ef;
}
.benefit-item:not(.benefit-item--highlight) {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
}
.benefit-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 4px;
}
.benefit-item:not(.benefit-item--highlight) .benefit-label {
  color: var(--slate-500);
}
.benefit-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--slate-900);
}
.option-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--slate-600);
  font-weight: 500;
}

/* ═══════════ LOCATION CARD ═══════════ */
.location-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.location-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--brand);
}
.location-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-800);
}
.location-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.location-item:last-child { margin-bottom: 0; }
.location-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-icon--blue { background: #eff6ff; color: #2563eb; }
.location-icon--orange { background: #fff7ed; color: #ea580c; }
.location-icon--purple { background: #faf5ff; color: #9333ea; }
.location-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 4px;
}
.location-text p {
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.5;
}

/* ═══════════ PROJECT SECTION ═══════════ */
.project-section {
  margin-top: 64px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--slate-900);
}
.section-desc {
  text-align: center;
  color: var(--slate-500);
  margin-top: -20px;
  margin-bottom: 32px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.info-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid var(--slate-100);
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fdf2f6;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.info-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}
.info-card p {
  font-size: 13px;
  color: var(--slate-600);
  word-break: keep-all;
}

/* ═══════════ COMMUNITY SECTION ═══════════ */
.community-section {
  margin-top: 64px;
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 16px;
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.amenity-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--slate-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  transition: all 0.3s;
}
.amenity-item:hover .amenity-icon {
  background: var(--brand);
  color: #fff;
}
.amenity-item span {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-700);
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section {
  margin-top: 64px;
  text-align: center;
}
.cta-highlight {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 32px;
}
.cta-highlight .line {
  width: 48px;
  height: 1px;
  background: var(--brand);
}
.cta-card {
  background: #fff;
  border: 2px solid var(--brand);
  border-radius: 40px;
  padding: 48px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}
.cta-bg-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--slate-100);
  transform: rotate(-12deg);
}
.cta-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-desc {
  color: var(--slate-500);
  margin-bottom: 24px;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 16px;
  transition: transform 0.2s;
}
.cta-phone:hover { transform: scale(1.05); }
.cta-manager {
  margin-bottom: 24px;
}
.manager-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-700);
}
.manager-phone {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: 1px;
}
.cta-gift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fefce8;
  color: #854d0e;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #fef08a;
  font-size: 14px;
  font-weight: 600;
}

/* ═══════════ FOOTER ═══════════ */
.site-footer {
  margin-top: 64px;
  padding: 48px 24px;
  text-align: center;
  opacity: 0.2;
  transition: opacity 0.5s;
}
.site-footer:hover { opacity: 1; }
.footer-inner {
  font-size: 11px;
  color: var(--slate-400);
  line-height: 2;
}
.footer-disclaimer {
  margin-top: 16px;
  font-weight: 300;
}

/* ═══════════ STICKY CTA ═══════════ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 12px 20px;
  z-index: 100;
  display: flex;
  justify-content: center;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  width: 100%;
  background: var(--brand);
  color: #fff;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(175,30,87,0.3);
  transition: transform 0.15s;
}
.sticky-cta a:active { transform: scale(0.98); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .sales-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: repeat(3, 1fr); }
  .image-grid { grid-template-columns: 1fr; }
  .cta-phone { font-size: 28px; }
}
