/* home: a hotel-site look. The hero sits on a warm band, rooms scroll in a rail, a closing call to action */
.hero-band { background: linear-gradient(180deg, #faf6ee 0%, #fff 100%); }
.home-hero__media { position: relative; max-width: 37.5rem; margin-inline: auto; width: 100%; }
.home-hero__img { border-radius: 1.5rem; box-shadow: 0 24px 48px -16px rgb(60 40 10 / 0.35); }
.home-hero__chip { position: absolute; inset-inline-start: 1rem; inset-block-end: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.625rem 1rem; border-radius: 999px; background: rgb(255 255 255 / 0.94); color: #111; font-weight: 700; font-size: 0.9375rem; box-shadow: 0 8px 24px rgb(0 0 0 / 0.2); }
.home-hero__chip svg { color: var(--brand); }
.home-hero h1 { letter-spacing: -0.01em; }
.home-hero__copy { position: relative; z-index: 3; }
@media (min-width: 64rem) { .home-hero { padding-block: 4.5rem 4rem; gap: 4rem; } }

/* the four reasons: a thin gold-lined strip instead of loose icons */
.features-wrap { padding-block: 3rem 1rem; }
.features-wrap > h2 { text-align: center; }
.features-wrap > h2::after { content: ""; display: block; width: 3.5rem; height: 2px; margin: 0.875rem auto 0; background: var(--brand); }
.feature { padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid rgb(181 143 81 / 0.22); text-align: start; transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.feature__icon { box-shadow: none; background: #faf6ee; }
@media (hover: hover) { .feature:hover { border-color: var(--brand); box-shadow: 0 12px 28px rgb(0 0 0 / 0.08); } }

/* the rooms rail */
.rooms-strip { padding-block: 3rem 2rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-block-end: 1.5rem; }
.section-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); font-weight: 800; }
.section-head p { color: rgb(0 0 0 / 0.62); margin-block-start: 0.25rem; }
.rail { position: relative; }
.rail__track { display: flex; gap: 1rem; margin: 0; padding: 0.25rem 0 1rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > li { flex: 0 0 min(72%, 17rem); scroll-snap-align: start; }
.teaser { display: grid; height: 100%; text-decoration: none; background: #fff; border: 1px solid rgb(0 0 0 / 0.09); border-radius: 1.25rem; overflow: hidden; transition: box-shadow 220ms var(--ease-out), translate 220ms var(--ease-out); }
.teaser__media { display: block; aspect-ratio: 1.5; background: #f1ede5; overflow: hidden; }
.teaser__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.teaser__body { display: grid; gap: 0.25rem; padding: 0.875rem 1rem 1.125rem; align-content: start; }
.teaser__hotel { font-size: 0.8125rem; font-weight: 700; color: var(--brand); }
.teaser__name { font-size: 1.0625rem; font-weight: 800; color: #111; }
.teaser__price { color: rgb(0 0 0 / 0.6); font-size: 0.875rem; }
.teaser__price strong { color: #111; font-size: 1.1875rem; }
@media (hover: hover) { .teaser:hover { box-shadow: 0 16px 34px rgb(0 0 0 / 0.12); translate: 0 -3px; } .teaser:hover img { transform: scale(1.05); } }
.rail__btn { display: none; position: absolute; inset-block-start: 38%; translate: 0 -50%; width: 48px; height: 48px; place-items: center; border: 1px solid rgb(0 0 0 / 0.12); border-radius: 50%; background: #fff; color: #111; cursor: pointer; box-shadow: 0 8px 20px rgb(0 0 0 / 0.14); transition: background-color 150ms ease, color 150ms ease, opacity 150ms ease; }
.rail__btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.rail__btn:disabled { opacity: 0; pointer-events: none; }
.rail__btn--prev { inset-inline-start: -0.5rem; }
.rail__btn--next { inset-inline-end: -0.5rem; }
@media (min-width: 48rem) { .rail__btn { display: grid; } .rail__track > li { flex-basis: calc((100% - 2rem) / 3); } }
@media (min-width: 64rem) { .rail__track > li { flex-basis: calc((100% - 3rem) / 4); } }

/* hotel cards: a map link beside the price */
.stay__map { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 44px; color: rgb(0 0 0 / 0.62); font-size: 0.875rem; text-decoration: none; position: relative; z-index: 2; }
.stay__map:hover { color: var(--brand); }
.stay__foot { align-items: center; }

/* closing call to action */
.cta-band { background: #14110d; color: #f4efe6; margin-block-start: 2rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 800; color: #fff; }
.cta-band p { color: rgb(244 239 230 / 0.75); margin-block-start: 0.5rem; max-width: 34rem; }
.btn--dark { background: var(--brand); border-color: var(--brand); color: #14110d; }
.btn--dark:hover { background: #fff; border-color: #fff; color: #14110d; }
@media (min-width: 48rem) { .cta-band__inner { grid-template-columns: 1fr auto; } }

/* one calm entrance for the hero, once */
@media (prefers-reduced-motion: no-preference) {
  .home-hero__copy > * { animation: rise 600ms var(--ease-out) both; }
  .home-hero__copy > :nth-child(2) { animation-delay: 70ms; }
  .home-hero__copy > :nth-child(3) { animation-delay: 140ms; }
  .home-hero__copy > :nth-child(4) { animation-delay: 210ms; }
  .home-hero__media { animation: rise 700ms var(--ease-out) 120ms both; }
}
@keyframes rise { from { opacity: 0; translate: 0 14px; } }

/* the hotel finder in the closing band */
.finder { width: 100%; }
.finder__open[hidden] { display: none; }
.finder__panel { display: grid; gap: 0.5rem; width: 100%; }
.finder__field { display: flex; align-items: center; gap: 0.625rem; min-height: 56px; padding-inline: 1rem 0.5rem; border-radius: 0.875rem; background: #fff; color: #17130c; border: 2px solid var(--gold); box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.6); }
.finder__field svg { color: var(--gold-ink, #86672b); flex: none; }
.finder__field input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 700; color: inherit; outline: none; }
.finder__field input::placeholder { color: rgb(23 19 12 / 0.5); font-weight: 600; }
.finder__field input::-webkit-search-cancel-button { display: none; }
.finder__field:focus-within { box-shadow: 0 0 0 4px rgb(181 143 81 / 0.45), 0 14px 30px -14px rgb(0 0 0 / 0.6); }
.finder__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #17130c; cursor: pointer; flex: none; }
.finder__close:hover { background: rgb(0 0 0 / 0.07); }
.finder__list { list-style: none; margin: 0; padding: 0.375rem; display: grid; gap: 0.125rem; border-radius: 0.875rem; background: #fff; box-shadow: 0 18px 36px -16px rgb(0 0 0 / 0.65); }
.finder__list li[hidden] { display: none; }
.finder__list a { display: flex; align-items: center; gap: 0.875rem; min-height: 56px; padding: 0.375rem 0.625rem; border-radius: 0.625rem; color: #17130c; text-decoration: none; font-weight: 800; }
.finder__list img { width: 64px; height: 44px; border-radius: 0.5rem; object-fit: cover; flex: none; }
.finder__list li.is-active a, .finder__list a:hover { background: var(--gold-soft, #f3ead7); }
.finder__list a:focus-visible { outline: 2px solid var(--gold-ink, #86672b); outline-offset: -2px; }
.finder__none { padding: 1rem; border-radius: 0.875rem; background: #fff; color: rgb(23 19 12 / 0.7); text-align: center; font-weight: 700; }
@media (min-width: 48rem) { .finder { width: min(100%, 26rem); } .cta-band__inner { align-items: start; } .finder__open { margin-block-start: 0.25rem; } }

/* the three hotels, small, above the title: a tidy row of framed photos with the hotel's name under each, each a link */
.hero-hotels { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; justify-content: center; align-items: flex-start; }
.hero-hotels li { display: block; }
.hero-hotels a { display: grid; gap: 0.5rem; justify-items: center; width: clamp(5.25rem, 26vw, 6.5rem); text-decoration: none; color: inherit; }
.hero-hotels li { width: clamp(5.5rem, 28vw, 7rem); display: flex; justify-content: center; }
.hero-hotels__photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 0.875rem; overflow: hidden; outline: 1px solid var(--line, rgb(181 143 81 / 0.28)); outline-offset: 3px; box-shadow: 0 10px 22px -12px rgb(60 40 10 / 0.5); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), outline-color 200ms var(--ease-out); }
.hero-hotels img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.hero-hotels__name { width: 100%; font-size: 0.8125rem; font-weight: 800; line-height: 1.35; text-align: center; text-wrap: balance; overflow-wrap: anywhere; color: var(--ink, #17130c); transition: color 160ms var(--ease-out); }
.hero-hotels a:active .hero-hotels__photo { transform: scale(0.97); }
.hero-hotels a:focus-visible { outline: 2px solid var(--gold-ink, #86672b); outline-offset: 4px; border-radius: 0.5rem; }
@media (hover: hover) { .hero-hotels a:hover .hero-hotels__photo { transform: translateY(-3px); outline-color: var(--gold, #b58f51); box-shadow: 0 16px 28px -14px rgb(60 40 10 / 0.55); } .hero-hotels a:hover img { transform: scale(1.06); } .hero-hotels a:hover .hero-hotels__name { color: var(--gold-ink, #86672b); } }
@media (min-width: 64rem) { .hero-hotels { justify-content: flex-start; gap: 0.5rem; } .hero-hotels li { width: 7.25rem; justify-content: flex-start; } .hero-hotels a { width: 6.5rem; } }
@media (prefers-reduced-motion: reduce) { .hero-hotels__photo, .hero-hotels img, .hero-hotels__name { transition: none; } }

/* a star in front of each hotel name above the hero */
.hero-hotels__name { display: inline-flex; align-items: flex-start; justify-content: center; gap: 0.25rem; }
.hero-hotels__star { flex: none; font-size: 0.9375rem; line-height: 1.35; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
/* one shared tone for the three photos: same warmth and saturation, so they sit together */
.hero-hotels img { filter: saturate(0.82) contrast(1.03) brightness(1.02); }
.hero-hotels__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(120 150 190 / 0.18), rgb(214 178 120 / 0.26)); mix-blend-mode: soft-light; pointer-events: none; }

/* the three hero photos are pictures only: no link, no hover or press effect */
.hero-hotels li { pointer-events: none; }
.hero-hotels li { flex-direction: column; align-items: center; gap: 0.5rem; }
.hero-hotels__photo { width: clamp(5.25rem, 26vw, 6.5rem); }
@media (min-width: 64rem) { .hero-hotels li { align-items: flex-start; } .hero-hotels__photo { width: 6.5rem; } }
/* larger hero hotel photos */
.hero-hotels { gap: 0.5rem; }
.hero-hotels li { width: calc((100% - 1rem) / 3); max-width: 9.5rem; }
.hero-hotels__photo { width: 100%; }
.hero-hotels__name { font-size: 0.875rem; }
@media (min-width: 64rem) { .hero-hotels { gap: 0.75rem; } .hero-hotels li { width: 9rem; max-width: none; } .hero-hotels__photo { width: 100%; } }
