.paket-page {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  background:
    radial-gradient(circle at top, hsl(36 40% 96%), transparent 42%),
    var(--background);
}

.paket-intro {
  max-width: 720px;
  margin-bottom: var(--space-xl);
}

.paket-intro .section-title {
  text-align: left;
  margin: 0.2rem 0 var(--space-sm);
}

.paket-kicker {
  color: var(--wood);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.paket-quote {
  color: var(--muted-fg);
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.paket-note {
  color: var(--muted-fg);
  font-size: 0.92rem;
}

.paket-layout {
  display: block;
}

.paket-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0px, 0fr);
  column-gap: 0;
  align-items: stretch;
  transition:
    grid-template-columns 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    column-gap 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.paket-layout.has-detail .paket-stage {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.72fr);
  column-gap: var(--space-lg);
}

.paket-room {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-md);
}

.paket-room img.paket-room-img {
  width: 100%;
  height: auto;
  display: block;
}

.hotspot {
  position: absolute;
  border-radius: 14px;
  border: 2px solid transparent;
  background: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hotspot.is-hover {
  transform: translateY(-4px);
  background: rgba(255, 248, 240, 0.28);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 28px rgba(70, 42, 18, 0.22);
}

.paket-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  margin-top: var(--space-lg);
}

.paket-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.45rem 0.7rem;
  background: hsl(36 45% 97%);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--foreground);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.paket-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
}

.paket-card span {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.paket-card.is-hover,
.paket-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 30px rgba(70, 42, 18, 0.14);
  border-color: var(--wood-light);
}

.paket-detail {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.paket-layout.has-detail .paket-detail {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.paket-detail-clip {
  min-width: 260px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.paket-detail img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.paket-detail-body {
  flex: 0 0 auto;
  padding: 1rem 1rem 1.1rem;
}

.paket-detail h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.paket-detail p {
  color: var(--muted-fg);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.paket-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paket-pop {
  position: fixed;
  z-index: 40;
  width: min(240px, 70vw);
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(40, 24, 10, 0.22);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px)) scale(0.94);
  opacity: 0;
  transition: opacity 140ms ease, transform 140ms ease;
}

.paket-pop.is-on {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 18px)) scale(1);
}

.paket-pop img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
}

.paket-pop strong {
  display: block;
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .paket-stage,
  .paket-layout.has-detail .paket-stage {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    transition: row-gap 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .paket-layout.has-detail .paket-stage { row-gap: var(--space-lg); }

  .paket-detail {
    display: grid;
    grid-template-rows: 0fr;
    height: auto;
    transform: translateY(8px);
    transition:
      grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.4s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .paket-layout.has-detail .paket-detail { grid-template-rows: 1fr; }

  .paket-detail-clip {
    min-width: 0;
    min-height: 0;
    height: auto;
    display: block;
  }

  .paket-detail img {
    flex: none;
    height: 220px;
  }

  .paket-items { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .paket-stage,
  .paket-detail { transition: none; }
}

@media (max-width: 560px) {
  .paket-items { grid-template-columns: repeat(2, 1fr); }
}
