.package-page main {
  overflow: hidden;
}

.package-hero {
  position: relative;
  padding: 2rem 1.5rem 5rem;
}

.package-hero::before,
.package-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.65;
  pointer-events: none;
}

.package-hero::before {
  width: 22rem;
  height: 22rem;
  top: 1rem;
  left: -6rem;
  background: rgba(14, 165, 233, 0.18);
}

.package-hero::after {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: 4rem;
  background: rgba(245, 201, 79, 0.22);
}

.package-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.package-copy {
  position: relative;
  z-index: 2;
}

.package-copy h1 {
  margin: 0 0 1.5rem;
  max-width: 12ch;
}

.package-lead {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 42rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
}

.package-pills {
  margin-bottom: 1.75rem;
}

.package-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.package-cta .primary-btn,
.package-cta .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.95rem 1.6rem;
  text-align: center;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stat,
.info-card,
.day-card,
.inclusion-card,
.sidebar-panel,
.cta-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 45px rgba(15, 43, 70, 0.12);
  backdrop-filter: blur(14px);
}

.dark-theme .hero-stat,
.dark-theme .info-card,
.dark-theme .day-card,
.dark-theme .inclusion-card,
.dark-theme .sidebar-panel,
.dark-theme .cta-panel {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.hero-stat {
  border-radius: 1.1rem;
  padding: 1.15rem;
}

.hero-stat .label {
  display: block;
  margin-bottom: 0.4rem;
}

.meta-card .label {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--headings);
  margin-bottom: 0.35rem;
}

.hero-visual {
  position: relative;
  min-height: 33rem;
}

.hero-main-image {
  margin: 0;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 65px rgba(15, 43, 70, 0.2);
}

.hero-main-image img {
  width: 100%;
  height: 33rem;
  object-fit: cover;
  transform: scale(1.02);
}

.floating-card {
  position: absolute;
  width: min(17rem, 74%);
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  color: var(--headings);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px rgba(15, 43, 70, 0.14);
}

.dark-theme .floating-card {
  color: #e8f0ff;
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
}

.floating-card p {
  margin: 0;
}

.dark-theme .floating-card p {
  color: #cbd5f5;
}

.floating-card.first {
  left: -1.5rem;
  bottom: 1.75rem;
}

.floating-card.second {
  right: -1rem;
  top: 2rem;
}

.floating-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--headings);
}

.dark-theme .floating-card strong {
  color: #e8f0ff;
}

.package-page .reveal-card[data-aos] {
  opacity: 1;
  transform: none;
}

.hero-orb {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.65;
}

.hero-orb.one {
  width: 8rem;
  height: 8rem;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.42),
    transparent 70%
  );
  right: 20%;
  top: 8%;
}

.hero-orb.two {
  width: 10rem;
  height: 10rem;
  background: radial-gradient(
    circle,
    rgba(245, 201, 79, 0.38),
    transparent 68%
  );
  left: 48%;
  bottom: 0;
}

.package-section {
  position: relative;
  padding: 2rem 0;
}

#overview {
  padding: 0;
}

#itinerary + #overview {
  margin-top: 2rem;
}

.package-section.alt .section-shell {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    rgba(235, 244, 255, 0.7)
  );
}

.dark-theme .package-section.alt .section-shell {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.85),
    rgba(15, 23, 42, 0.82)
  );
}

.section-shell {
  padding: 2.2rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 55px rgba(15, 43, 70, 0.08);
}

.container.section-shell {
  width: 100%;
  max-width: none;
  padding-top: 16px;
}

.dark-theme .section-shell {
  background: rgba(15, 23, 42, 0.62);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.detail-grid,
.inclusion-grid,
.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.day-card,
.inclusion-card,
.sidebar-panel {
  border-radius: 1.5rem;
  padding: 1.4rem;
}

.info-card h3,
.day-card h3,
.inclusion-card h3,
.sidebar-panel h3 {
  font-size: 1.35rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.day-card p,
.day-card .detail-list,
.day-card .check-list {
  font-size: 1.12rem;
  line-height: 1.8;
  font-weight: 500;
}

.icon-chip {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #0f2b46;
  background: linear-gradient(
    135deg,
    rgba(245, 201, 79, 0.95),
    rgba(14, 165, 233, 0.25)
  );
}

.dark-theme .icon-chip {
  color: #0b1221;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.day-pill {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--headings);
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.16),
    rgba(245, 201, 79, 0.28)
  );
}

.detail-list,
.check-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.detail-list li,
.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--paragraph);
  line-height: 1.6;
}

.detail-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--waves-color);
  box-shadow: 0 0 0 0.18rem rgba(14, 165, 233, 0.16);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.inclusion-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 18rem;
  box-shadow: 0 18px 40px rgba(15, 43, 70, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease;
}

.gallery-card figcaption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.5;
  z-index: 1;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62));
}

.gallery-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.cta-panel {
  border-radius: 2rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -5rem;
  bottom: -8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 65%);
}

.travel-note {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.selector-grid,
.brochure-meta-grid,
.brochure-columns,
.policy-grid {
  display: grid;
  gap: 1.2rem;
}

.selector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.selector-card,
.meta-card,
.brochure-panel {
  border-radius: 1.5rem;
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 45px rgba(15, 43, 70, 0.12);
  backdrop-filter: blur(14px);
}

.dark-theme .selector-card,
.dark-theme .meta-card,
.dark-theme .brochure-panel {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.day-card {
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 55px rgba(15, 43, 70, 0.18);
}

.dark-theme .day-card:hover {
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}

.day-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.day-card-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.day-card-chevron {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.12);
  color: var(--waves-color);
  font-size: 0.75rem;
  transition:
    transform 0.3s ease,
    background 0.2s ease;
  margin-top: 0.15rem;
}

.day-card.open .day-card-chevron {
  transform: rotate(180deg);
  background: rgba(14, 165, 233, 0.22);
}

.day-card-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    margin-top 0.3s ease;
  margin-top: 0;
}

.day-card.open .day-card-body {
  max-height: 600px;
  opacity: 1;
  margin-top: 1rem;
}

.selector-card h3,
.meta-card strong,
.brochure-panel h3 {
  color: var(--headings);
}

.selector-card p:last-of-type,
.brochure-panel p:last-of-type,
.meta-card p {
  margin-bottom: 0;
}

.selector-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.selector-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  padding: 0;
}

.selector-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--paragraph);
  line-height: 1.6;
}

.selector-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 0 0.18rem rgba(245, 201, 79, 0.18);
}

.selector-actions {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  gap: 0.6rem;
  flex-wrap: nowrap;
  margin-top: auto;
}

.selector-actions .primary-btn,
.selector-actions .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-right: 0;
  
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.selector-actions .small {
  padding: 0.85rem 1rem !important;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  min-height: 3.3rem;
}

.selector-actions .primary-btn {
  background: #e5e7eb;
  color: #0f172a;
  height: auto;
}

.selector-actions .primary-btn:hover {
  background: #d1d5db;
  color: #0f172a;
}

.selector-actions .ghost-btn {
  border-color: #f3f4f6;
  color: var(--headings);
  background: #f3f4f6;
  justify-content: center;
  text-align: center;
  height: auto;
}

.selector-actions .ghost-btn:hover {
  background: #f3f4f6;
  color: var(--headings);
}

.selector-actions .primary-btn i {
  font-size: 1rem;
}

body.dark-theme .selector-actions .primary-btn {
  background: #1a3d5c;
  color: #ffffff;
}

body.dark-theme .selector-actions .primary-btn:hover {
  background: #16324b;
  color: #ffffff;
}

body.dark-theme .selector-actions .ghost-btn {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b1221;
}

body.dark-theme .selector-actions .ghost-btn:hover {
  background: #ffffff;
  color: #0b1221;
}

.compact-note {
  margin-bottom: 1rem;
}

.brochure-meta-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.itinerary-grid + .brochure-meta-grid {
  margin-top: 2rem;
}

.meta-card strong {
  display: block;
  font-size: 1.1rem;
  margin: 0.35rem 0 0.45rem;
}

.brochure-columns,
.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.source-note {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border-left: 4px solid var(--accent-amber);
  background: rgba(245, 201, 79, 0.14);
  color: var(--paragraph);
}

.dark-theme .source-note {
  background: rgba(250, 204, 21, 0.1);
}

.itinerary-heading {
  margin-top: 0.4rem;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media screen and (max-width: 1050px) {
  .package-hero-grid,
  .section-heading,
  .split-layout,
  .detail-grid,
  .gallery-grid,
  .selector-grid,
  .brochure-columns,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-main-image img {
    height: 28rem;
  }

  .floating-card.first {
    left: 1rem;
    bottom: 1rem;
  }

  .floating-card.second {
    right: 1rem;
  }

  .itinerary-grid,
  .inclusion-grid,
  .brochure-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .package-section {
    padding-top: 16px;
  }
  .package-hero {
    padding: 2rem 1.5rem 4rem;
  }
  .package-hero {
    padding: 1rem 0 4rem;
  }

  .package-copy h1 {
    max-width: none;
    padding-left: 1rem;
  }

  .package-copy .eyebrow {
    padding-left: 1rem;
  }

  #itinerary {
    padding: 16px 0px 0;
  }

  .hero-stat-row {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 1.4rem;
  }

  .container.section-shell {
    width: 100%;
    max-width: none;
    padding-top: 16px;
  }

  .hero-main-image img {
    height: 22rem;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
    animation: none;
  }

  .gallery-card {
    min-height: 15rem;
  }

  .package-page .gallery-card {
    height: 14rem;
    min-height: 14rem;
  }
}
