.im-hero {
  position: relative;
  background: var(--im-navy);
  color: #fff;
}

.im-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
}
.im-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 28, 50, 0.78) 0%, rgba(10, 28, 50, 0.48) 42%, rgba(10, 28, 50, 0.05) 78%), linear-gradient(0deg, rgba(10, 28, 50, 0.6) 0%, rgba(10, 28, 50, 0) 40%);
}
.im-slide--empty::after {
  display: none;
}

.im-slide-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.im-slide-inner {
  padding-top: calc(3rem + 60px);
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .im-slide {
    min-height: 900px;
  }
  .im-slide-inner {
    padding-top: calc(4rem + 160px);
    padding-bottom: 330px;
  }
  .im-hero-search {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(2rem + 40px);
    z-index: 3;
  }
}
@media (max-width: 991.98px) {
  .im-hero-search {
    padding: 1.25rem 0 2rem;
  }
}
@media (max-width: 767.98px) {
  .im-slide {
    min-height: 440px;
  }
}
.im-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem 0.45rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}
.im-hero-badge span {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--im-peach);
  color: var(--im-accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.im-hero-title {
  margin: 1.4rem 0 1.2rem;
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(10, 28, 50, 0.25);
}

.im-hero-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.im-hero-dots {
  display: flex;
  gap: 0.45rem;
}
.im-hero-dots button {
  width: 28px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s ease, background 0.3s ease;
}
.im-hero-dots button:hover {
  background: rgba(255, 255, 255, 0.7);
}
.im-hero-dots button.active {
  width: 56px;
  background: #fff;
}

.im-promos {
  padding-top: var(--im-gap);
}

.im-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1.25rem;
  padding: 0.5rem 0.1rem 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.im-rail::-webkit-scrollbar {
  display: none;
}
@media (min-width: 576px) {
  .im-rail {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
  }
}
@media (min-width: 992px) {
  .im-rail {
    grid-auto-columns: calc((100% - 2.5rem) / 3);
  }
}
@media (min-width: 1200px) {
  .im-rail {
    grid-auto-columns: calc((100% - 3.75rem) / 4);
  }
}

.im-pcard {
  --tint: 15, 42, 74;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 480px;
  padding: 1.5rem;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
@media (max-width: 575.98px) {
  .im-pcard {
    height: 430px;
  }
}
.im-pcard--navy {
  --tint: 15, 42, 74;
}
.im-pcard--orange {
  --tint: 176, 72, 18;
}
.im-pcard--teal {
  --tint: 10, 96, 104;
}
.im-pcard--red {
  --tint: 196, 38, 38;
}
.im-pcard:hover {
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(var(--tint), 0.35);
}
.im-pcard > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.im-pcard:hover > img {
  transform: scale(1.07);
}
.im-pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--tint), 0) 20%, rgba(var(--tint), 0.72) 55%, rgba(var(--tint), 0.97) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 25%);
}
.im-pcard.im-pcard--plain {
  height: auto;
  aspect-ratio: 425/540;
  align-self: start;
}
.im-pcard.im-pcard--plain::before, .im-pcard.im-pcard--plain .go {
  display: none;
}
.im-pcard .chip {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
}
.im-pcard .im-tr-group {
  top: 1.05rem;
  right: 1.05rem;
}
.im-pcard .stamp {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--im-font-display);
  font-weight: 800;
  font-size: 5.2rem;
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.im-pcard h3 {
  margin: 0 0 0.55rem;
  padding-right: 2.5rem;
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.im-pcard p {
  margin: 0;
  padding-right: 2.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.im-pcard .go {
  position: absolute;
  right: 1.2rem;
  bottom: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: rgb(var(--tint));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.im-pcard:hover .go {
  transform: rotate(-45deg);
}

.im-rail-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 575.98px) {
  .im-rail-controls {
    gap: 1rem;
  }
  .im-rail-controls .im-round-btn {
    display: none;
  }
}

.im-rail-count {
  min-width: 4.5rem;
  font-family: var(--im-font-display);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  color: var(--im-muted-2);
  white-space: nowrap;
}
.im-rail-count strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--im-navy);
}

.im-rail-lines {
  flex: 1;
  display: flex;
  gap: 0.5rem;
}
.im-rail-lines button {
  position: relative;
  flex: 1;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.im-rail-lines button::before, .im-rail-lines button::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
}
.im-rail-lines button::before {
  right: 0;
  background: #E4DED5;
  transition: background 0.2s ease;
}
.im-rail-lines button:hover::before {
  background: #CFC7BB;
}
.im-rail-lines button::after {
  width: 0;
  background: var(--im-accent);
}
.im-rail-lines button.is-done::after {
  width: 100%;
  background: var(--im-navy);
}
.im-rail-lines button.is-active::after {
  width: 100%;
  background: var(--im-accent);
}
.im-rail-lines.is-playing button.is-active::after {
  animation: im-line-fill var(--im-dur, 5s) linear forwards;
}
.im-rail-lines.is-paused button.is-active::after {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .im-rail-lines.is-playing button.is-active::after {
    animation: none;
    width: 100%;
  }
}

@keyframes im-line-fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.im-lead--narrow {
  max-width: 24rem;
}

.im-dest {
  position: relative;
  display: block;
  height: 420px;
  border-radius: var(--im-radius);
  overflow: hidden;
  color: #fff;
}
@media (max-width: 767.98px) {
  .im-dest {
    height: 300px;
  }
}
.im-dest:hover {
  color: #fff;
}
.im-dest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.im-dest:hover img {
  transform: scale(1.04);
}
.im-dest .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.im-dest .overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 4rem 1.4rem 1.4rem;
  background: linear-gradient(180deg, rgba(10, 28, 50, 0) 0%, rgba(10, 28, 50, 0.82) 70%);
}
.im-dest h3 {
  margin: 0 0 0.25rem;
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.im-dest p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: #E4EAF2;
}
.im-dest .more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.im-exclusive {
  padding: 3rem;
  border-radius: 32px;
  background: var(--im-navy);
  color: #fff;
}
@media (max-width: 767.98px) {
  .im-exclusive {
    padding: 1.5rem;
    border-radius: 24px;
  }
}
.im-exclusive .im-kicker {
  color: var(--im-accent-light);
}
.im-exclusive .im-lead {
  color: #C9D3E0;
}
.im-exclusive .intro-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}

.im-exclusive-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1rem;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  padding-bottom: 0.5rem;
}
@media (min-width: 576px) {
  .im-exclusive-rail {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}
@media (min-width: 768px) {
  .im-exclusive-rail {
    grid-auto-columns: calc((100% - 2rem) / 3);
  }
}
.im-exclusive-rail > * {
  scroll-snap-align: start;
}

.im-stay {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  color: var(--im-navy);
}
.im-stay:hover {
  color: var(--im-navy);
}
.im-stay .media {
  position: relative;
}
.im-stay .tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 3.5rem;
  width: fit-content;
}
.im-stay img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.im-stay .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
}
.im-stay h3 {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
}
.im-stay .meta {
  font-size: 0.88rem;
  color: var(--im-muted-2);
}

.im-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.9rem;
}
.im-price small {
  font-size: 0.8rem;
  color: var(--im-muted-2);
}
.im-price strong {
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--im-price);
}

.im-offer {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--im-line);
  border-radius: var(--im-radius);
  overflow: hidden;
  background: #fff;
  color: var(--im-navy);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.im-offer:hover {
  box-shadow: 0 18px 40px rgba(15, 42, 74, 0.1);
  transform: translateY(-3px);
}
.im-offer .media {
  position: relative;
  display: block;
}
.im-offer .media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.im-offer .badges {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.im-offer .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.25rem 1.4rem 1.4rem;
}
.im-offer h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
}
.im-offer h3 a {
  color: inherit;
}
.im-offer .stars {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #A77700;
  white-space: nowrap;
}
.im-offer .place {
  font-size: 0.88rem;
  color: var(--im-muted-2);
}
.im-offer .body .d-flex.flex-wrap {
  gap: 0.4rem !important;
}
.im-offer .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: var(--im-sand);
  font-size: 0.84rem;
  font-weight: 600;
}
.im-offer .foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid #F0EBE3;
}
.im-offer .foot small {
  display: block;
  font-size: 0.78rem;
  color: var(--im-muted-2);
}
.im-offer .foot strong {
  font-family: var(--im-font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--im-price);
}
.im-offer .go {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--im-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.im-offer-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: var(--im-navy);
}
.im-offer-main:hover {
  color: var(--im-navy);
}
.im-offer-main:hover h3 {
  color: var(--im-accent-dark);
}
.im-offer-main:hover .go {
  background: var(--im-accent);
}

.im-offer-more {
  padding: 0.9rem 1.4rem 1.1rem;
  border-top: 1px solid var(--im-line);
  background: #FDFCFA;
}
.im-offer-more .label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--im-accent-dark);
}

.im-offer-alt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-top: 1px dashed var(--im-line);
  color: var(--im-navy);
  font-weight: 600;
  font-size: 0.92rem;
}
.im-offer-alt:first-of-type {
  border-top: 0;
}
.im-offer-alt .when {
  flex: 1;
  min-width: 0;
}
.im-offer-alt .when small {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--im-muted-2);
}
.im-offer-alt .when small .im-icon {
  color: var(--im-accent);
}
.im-offer-alt .price {
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--im-price);
  white-space: nowrap;
}
.im-offer-alt .price small {
  font-family: var(--im-font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--im-muted-2);
}
.im-offer-alt > .im-icon {
  color: var(--im-navy);
}
.im-offer-alt:hover {
  color: var(--im-accent-dark);
}
.im-offer-alt:hover > .im-icon {
  color: var(--im-accent);
}

.im-offer-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}
.im-offer-rows .intro {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--im-accent-dark);
}

.im-offer-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.9rem;
  border: 1px solid var(--im-line);
  border-radius: var(--im-radius-sm);
  color: var(--im-navy);
  transition: border-color 0.2s ease;
}
.im-offer-row:hover {
  border-color: var(--im-navy);
  color: var(--im-navy);
}
.im-offer-row:hover .go {
  background: var(--im-accent);
}
.im-offer-row .name {
  font-size: 1rem;
}
.im-offer-row .foot {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.im-offer-row .foot strong {
  font-size: 1.6rem;
}
.im-offer-row .go {
  width: 40px;
  height: 40px;
}

.im-why {
  margin-top: var(--im-gap);
  padding: var(--im-gap) 0;
  border-top: 1px solid var(--im-line);
  border-bottom: 1px solid var(--im-line);
  background: #fff;
}
.im-why .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 0.9rem;
  border-radius: 16px;
}
.im-why .ico.peach {
  background: var(--im-peach);
  color: var(--im-accent-dark);
}
.im-why .ico.sky {
  background: var(--im-sky);
  color: var(--im-navy);
}
.im-why h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.im-why p {
  margin: 0;
  line-height: 1.55;
  color: var(--im-muted);
}

.im-post-main img, .im-post-main .im-post-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 1.1rem;
  border-radius: var(--im-radius);
}
.im-post-main h3 {
  margin: 0.5rem 0;
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--im-navy);
}
.im-post-main p {
  line-height: 1.55;
  color: var(--im-muted);
}

.im-post {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--im-line);
}
.im-post:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.im-post img, .im-post .im-post-placeholder {
  flex-shrink: 0;
  width: 190px;
  height: 128px;
  object-fit: cover;
  border-radius: var(--im-radius-sm);
}
.im-post h3 {
  margin: 0.35rem 0 0;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--im-navy);
}
@media (max-width: 575.98px) {
  .im-post img, .im-post .im-post-placeholder {
    width: 110px;
    height: 90px;
  }
  .im-post h3 {
    font-size: 1.02rem;
  }
}

.im-post-placeholder {
  background: var(--im-sky);
}

.im-post-main .cat, .im-post .cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--im-accent-dark);
}
.im-post-main:hover h3, .im-post:hover h3 {
  color: var(--im-accent-dark);
}

.im-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 2.5rem;
  border-radius: var(--im-radius-lg);
}
@media (max-width: 575.98px) {
  .im-box {
    padding: 1.6rem;
  }
}
.im-box h2 {
  margin: 0;
  font-family: var(--im-font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.im-box p {
  margin: 0;
  line-height: 1.55;
}
.im-box--peach {
  background: var(--im-peach);
}
.im-box--peach p {
  color: #5A4636;
}
.im-box--white {
  border: 1px solid var(--im-line);
  background: #fff;
}
.im-box--white p {
  color: var(--im-muted);
}
.im-box--white .im-kicker {
  color: var(--im-muted-2);
}