/* Legacy Landing Page experience groups, adapted only for the current site's spacing and palette. */
.legacy-experience {
  padding: 0;
  background: #fff;
}
.legacy-section {
  padding: 82px max(24px, calc((100vw - 1280px) / 2));
  background: #fff;
}
.legacy-section:nth-child(even) {
  background: #f5faf9;
}
.legacy-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}
.legacy-heading > span {
  display: inline-block;
  color: #3d847d;
  font:
    700 12px/1.3 Inter,
    Arial,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.legacy-heading h2 {
  margin: 13px 0 14px;
  color: #102d4e;
  font-size: 38px;
  line-height: 1.2;
}
.legacy-heading p {
  margin: 0 auto;
  color: #667c8d;
  font-size: 16px;
  line-height: 1.8;
}
.legacy-photo-grid,
.legacy-food-grid,
.legacy-stay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: auto;
}
.legacy-card {
  overflow: hidden;
  border: 1px solid #dce8e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(21, 66, 77, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.legacy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(21, 66, 77, 0.12);
}
.legacy-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.legacy-card-body {
  padding: 20px 22px;
}
.legacy-card h3 {
  margin: 0 0 8px;
  color: #123355;
  font-size: 19px;
  line-height: 1.35;
}
.legacy-card p {
  margin: 0;
  color: #667c8d;
  font-size: 14px;
  line-height: 1.7;
}
.legacy-card footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 22px;
  border-top: 1px solid #e5eeee;
  background: #f7fbfa;
  color: #4a8f82;
  font-size: 13px;
}
.legacy-card footer span {
  color: #81929b;
}
.legacy-wellness .legacy-card-body {
  min-height: 137px;
}
.legacy-wellness .legacy-card img {
  height: 205px;
}
.legacy-food {
  background: #fff;
}
.legacy-food-grid .legacy-card-body {
  min-height: 143px;
}
.legacy-stay {
  background: #f5faf9;
}
.legacy-location {
  margin-bottom: 7px !important;
  color: #7b8c96 !important;
  font-size: 12px !important;
}
.legacy-rating {
  margin-bottom: 10px !important;
  color: #d3a542 !important;
  letter-spacing: 1px;
}
.legacy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.legacy-tags span {
  padding: 4px 8px;
  border-radius: 5px;
  background: #eaf6f3;
  color: #397d75;
  font-size: 11px;
}
.legacy-transport {
  background: #fff;
}
.legacy-transport-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: auto;
}
.legacy-transport-grid article {
  padding: 32px 20px;
  text-align: center;
  border: 1px solid #dce8e8;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f4faf9);
}
.legacy-icon {
  display: block;
  margin-bottom: 16px;
  height: 88px;
}
.legacy-icon img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.legacy-transport-grid h3 {
  margin: 0 0 8px;
  color: #123355;
  font-size: 18px;
}
.legacy-transport-grid p {
  min-height: 68px;
  margin: 0 0 13px;
  color: #687c89;
  font-size: 13px;
  line-height: 1.65;
}
.legacy-transport-grid b {
  display: none;
  padding: 5px 11px;
  border-radius: 12px;
  background: #e3f5ef;
  color: #327e73;
  font-size: 12px;
}
.legacy-section.legacy-shopping {
  background-color: #eaf3f0;
  background-image:
    linear-gradient(
      90deg,
      rgba(245, 250, 249, 0.92) 0%,
      rgba(245, 250, 249, 0.83) 43%,
      rgba(245, 250, 249, 0.68) 100%
    ),
    url("./assets/images/culture-shopping-background.webp");
  background-position: center;
  background-size: cover;
}
.legacy-shopping-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1280px;
  margin: auto;
}
.legacy-shopping .legacy-heading {
  text-align: left;
  margin: 0;
}
.legacy-shopping ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.legacy-shopping li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  color: #536d7d;
  font-size: 14px;
}
.legacy-shopping li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e5f6f0;
  color: #397f74;
  font-weight: 800;
  flex: none;
}
.legacy-locations {
  display: grid;
  gap: 15px;
}
.legacy-locations article {
  padding: 21px;
  border: 1px solid #dce8e8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 10px 24px rgba(22, 52, 71, 0.05);
}
.legacy-locations h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 7px;
  color: #123355;
  font-size: 16px;
}
.legacy-locations h3 span {
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 5px;
  background: #e4f4ef;
  color: #397d75;
  font-size: 11px;
}
.legacy-locations p {
  margin: 0;
  color: #687c89;
  font-size: 13px;
  line-height: 1.65;
}
.legacy-explore {
  background: #fff;
}
.legacy-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: auto;
}
.legacy-explore-card .legacy-card-body {
  padding: 16px 18px;
}
.legacy-explore-card h3 {
  font-size: 17px;
}
.legacy-explore-card .legacy-location {
  margin-bottom: 5px !important;
}
.legacy-explore-card .legacy-rating {
  margin-bottom: 7px !important;
  font-size: 12px;
}
.legacy-explore-card p {
  font-size: 12px;
}
.legacy-section.legacy-culture {
  background: #142e4c;
}
.legacy-culture .legacy-heading > span {
  color: #79d2ba;
}
.legacy-culture .legacy-heading h2 {
  color: #fff;
}
.legacy-culture .legacy-heading p {
  color: rgba(255, 255, 255, 0.68);
}
.legacy-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: auto;
}
.legacy-culture-grid article {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  opacity: 0;
  animation: legacy-culture-reveal 640ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.legacy-culture-grid article:nth-child(2) {
  animation-delay: 110ms;
}
.legacy-culture-grid article:nth-child(3) {
  animation-delay: 220ms;
}
.legacy-culture-grid article:nth-child(4) {
  animation-delay: 330ms;
}
.legacy-culture-grid article:nth-child(5) {
  animation-delay: 440ms;
}
.legacy-culture-grid article:nth-child(6) {
  animation-delay: 550ms;
}
.legacy-culture-art {
  height: 164px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #102943;
}
.legacy-culture-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}
.legacy-culture-grid article:hover .legacy-culture-art img {
  transform: scale(1.04);
}
.legacy-culture-grid h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 19px;
}
.legacy-culture-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.7;
}
@keyframes legacy-culture-reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .legacy-culture-grid article {
    animation: none;
    opacity: 1;
  }
  .legacy-culture-art img {
    transition: none;
  }
}
@media (max-width: 900px) {
  .legacy-section {
    padding-inline: 28px;
  }
  .legacy-photo-grid,
  .legacy-food-grid,
  .legacy-stay-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legacy-explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .legacy-transport-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legacy-shopping-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .legacy-culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .legacy-section {
    padding: 58px 20px;
  }
  .legacy-heading {
    margin-bottom: 28px;
  }
  .legacy-heading h2 {
    font-size: 29px;
  }
  .legacy-heading p {
    font-size: 14px;
  }
  .legacy-photo-grid,
  .legacy-food-grid,
  .legacy-stay-grid,
  .legacy-explore-grid,
  .legacy-transport-grid,
  .legacy-culture-grid {
    grid-template-columns: 1fr;
  }
  .legacy-card-body {
    padding: 18px;
  }
  .legacy-card footer {
    padding: 12px 18px;
  }
  .legacy-transport-grid p {
    min-height: 0;
  }
  .legacy-shopping-wrap {
    gap: 28px;
  }
  .legacy-locations h3 {
    align-items: flex-start;
    flex-direction: column;
  }
  .legacy-wellness .legacy-card img {
    height: auto;
  }
}
