/* Inclusions section: cinematic full-bleed backdrop */
#inc {
  position: relative;
  max-width: none;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}
#inc::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: url("../../assets/images/inclusions/inclusions-bg.webp") center / cover no-repeat;
  filter: blur(6px);
  opacity: 0.32;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 60px,
    black calc(100% - 60px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 60px,
    black calc(100% - 60px),
    transparent 100%
  );
}
#inc > .split {
  position: relative;
  z-index: 2;
  max-width: calc(1300px - 14vw);
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
#inc > .split > .rl:first-child {
  display: flex;
  flex-direction: column;
}
#inc h2,
#inc h3,
#inc p,
#inc li,
.amenity-label {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* Inclusions, exclusions and special-offer band */
.split {
  display: grid;
  grid-template-columns: clamp(340px, 35%, 430px) 1fr;
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}
.inc-campfire-wrap {
  margin-top: 32px;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(233, 239, 232, 0.08);
  flex: 1 1 auto;
  min-height: 0;
}
.inc-campfire-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two column container for Included / Not included */
.two {
  display: grid;
  grid-template-columns: 1.82fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}
.two > div {
  display: flex;
  flex-direction: column;
}
.two h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  margin-bottom: 16px;
  white-space: nowrap;
}

/* Amenity Tile Grid */
.amenity-grid {
  display: grid;
  gap: 1px;
  background: rgba(233, 239, 232, 0.12);
  border: 1px solid rgba(233, 239, 232, 0.12);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
#in.amenity-grid {
  grid-template-columns: repeat(2, 1fr);
  flex: 1 1 auto;
  grid-template-rows: repeat(5, 1fr);
}
#ex.amenity-grid {
  grid-template-columns: 1fr;
  flex: 1 1 auto;
  grid-template-rows: repeat(5, 1fr);
}
.amenity-tile {
  background: rgba(7, 24, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
  min-height: 92px;
  height: 100%;
  box-sizing: border-box;
  transition: background 0.22s ease;
}
.amenity-tile:hover {
  background: rgba(184, 148, 90, 0.14);
}
.amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brass, #b8945a);
  margin-bottom: 9px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.amenity-tile:hover .amenity-icon {
  transform: translateY(-2px);
}
.amenity-label {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink, #e9efe8);
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fallback list styling */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.list li:last-child {
  border-bottom: 1px solid var(--line);
}
.list span {
  color: var(--mut);
  font-size: 0.85rem;
  text-align: right;
}

#offers {
  padding-top: 50px;
  padding-bottom: 50px;
}
.note {
  margin-top: 0;
  padding: 34px 40px;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.note h3 {
  font-size: 1.9rem;
}
.note span {
  opacity: 0.8;
}

/* Tablet Layout (<= 860px) */
@media (max-width: 860px) {
  #inc > .split {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: none;
    align-items: start;
  }
  #inc > .split > .rl:first-child {
    display: block;
  }
  .inc-campfire-wrap {
    display: none !important;
  }
  .two {
    grid-template-columns: 1.8fr 1fr;
    gap: 24px;
  }
  #offers {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

/* Mobile Layout (<= 640px) */
@media (max-width: 640px) {
  .two {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }
  .two > div {
    display: block;
  }
  #in.amenity-grid,
  #ex.amenity-grid {
    flex: none;
    grid-template-rows: none;
  }
  #in.amenity-grid,
  #ex.amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #ex.amenity-grid .amenity-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .amenity-tile {
    padding: 14px 10px;
    min-height: 84px;
    height: auto;
  }
  .amenity-icon {
    margin-bottom: 7px;
  }
  .amenity-icon svg {
    width: 23px;
    height: 23px;
  }
  .amenity-label {
    font-size: 0.78rem;
  }
}
