/* =====================================================================
   Home page — 2026-11 redesign, direction D: light colours and motion.
   Loaded on the home page only (pushed from front/home.php), after
   site.css. Every rule is scoped under .hm so nothing leaks into the
   rest of the site.

   All motion is CSS transform / opacity / background-position — cheap
   for the browser — and stops entirely under prefers-reduced-motion.
   ===================================================================== */

.hm {
  --hm-ink:     #22313A;
  --hm-muted:   #5A6870;
  --hm-soft:    #6B7780;
  --hm-gold:    #C4A470;
  --hm-gold-2:  #E8D3A2;
  --hm-gold-ink:#8A6C38;
  --hm-teal:    #A97E3E; /* bronze — replaces the old teal accent */
  --hm-cream:   #FBF8F2;
  --hm-line:    #EFE6D4;
  --hm-field:   #E6DED0;
  --hm-shadow:  0 8px 24px rgba(120, 100, 60, .07);
  --hm-shadow-lg: 0 24px 50px rgba(120, 100, 60, .18);
  --hm-ease:    cubic-bezier(.2, .8, .2, 1);

  background: var(--hm-cream);
  color: var(--hm-ink);
  overflow: hidden;
}

.hm [hidden] { display: none !important; }

/* ---------------------------------------------------------------- keyframes */
@keyframes hm-shift   { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes hm-float-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-80px, 60px) scale(1.15); } }
@keyframes hm-float-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(90px, -50px) scale(.9); } }
@keyframes hm-float-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, -70px); } }
@keyframes hm-words   { 0%, 26% { transform: translateY(0); } 33%, 59% { transform: translateY(-1.35em); } 66%, 92% { transform: translateY(-2.7em); } 100% { transform: translateY(-4.05em); } }
@keyframes hm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hm-pulse   { 0% { transform: translate(-50%, -50%) scale(.3); opacity: .6; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes hm-bob     { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 8px)); } }
@keyframes hm-up      { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hm-shine   { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes hm-progress{ from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- shared */
.hm-flow {
  background: linear-gradient(120deg, #FFFFFF, #F5ECDD, #FBEFE4, #FBF3E4, #ECF1F9, #FFFFFF);
  background-size: 400% 400%;
  animation: hm-shift 18s ease infinite;
}

.hm-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .6;
  pointer-events: none;
}
.hm-blob--a { width: 520px; height: 520px; background: #F4D6B6; top: -120px; inset-inline-end: -80px; animation: hm-float-a 14s ease-in-out infinite; }
.hm-blob--b { width: 460px; height: 460px; background: #EED8AE; bottom: -140px; inset-inline-start: 10%; animation: hm-float-b 16s ease-in-out infinite; }
.hm-blob--c { width: 300px; height: 300px; background: #C3D8F1; top: 30%; inset-inline-start: 40%; animation: hm-float-c 12s ease-in-out infinite; }
.hm-blob--small { width: 260px; height: 260px; top: auto; bottom: -120px; inset-inline-end: 20%; }

.hm-glass {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 10px 30px rgba(120, 100, 60, .10);
}

.hm-gtext {
  background: linear-gradient(90deg, #8A6C38, #C9A15E, #E0BE7E, #A97E3E, #8A6C38);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hm-shift 8s ease infinite;
}

.hm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: #7A6235;
}

.hm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hm-teal); flex: none; }

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-gold), var(--hm-gold-2), var(--hm-gold));
  background-size: 200% 100%;
  color: var(--hm-ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hm-btn:hover, .hm-btn:focus-visible {
  animation: hm-shine 1.6s linear infinite;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(196, 164, 112, .45);
  color: var(--hm-ink);
}
.hm-btn--block { width: 100%; padding-block: 15px; font-size: 1.0625rem; border-radius: 14px; }
.hm-btn--sm { padding: 9px 18px; font-size: .875rem; }
.hm-btn--lg { padding: 17px 34px; font-size: 1.0625rem; }

.hm-section { padding-block: 96px 0; }
.hm-section--last { padding-block-end: 96px; }

.hm-eyebrow { display: block; color: var(--hm-teal); font-size: .875rem; font-weight: 700; letter-spacing: .5px; margin-block-end: 10px; }
.hm-title   { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.35; font-weight: 700; color: var(--hm-ink); }
.hm-text    { margin: 14px 0 0; color: var(--hm-muted); font-size: 1.0625rem; line-height: 1.8; }
.hm-link    { display: inline-flex; align-items: center; gap: 6px; color: var(--hm-gold-ink); font-weight: 700; text-decoration: none; }
.hm-link:hover { color: var(--hm-ink); }

.hm-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 30px;
}

.hm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-chip {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--hm-field);
  background: #FFFFFF;
  color: var(--hm-ink);
  font: inherit;
  font-weight: 700;
  font-size: .9375rem;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
}
.hm-chip:hover { transform: translateY(-2px); border-color: var(--hm-gold); color: var(--hm-ink); }
.hm-chip.is-active { background: var(--hm-gold); border-color: var(--hm-gold); color: #FFFFFF; }

/* ---------------------------------------------------------------- 1. hero */
.hm-hero { position: relative; overflow: hidden; padding-block: 72px 80px; }

.hm-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hm-hero__title {
  margin: 22px 0 0;
  font-size: clamp(2.125rem, 4.6vw, 3.75rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--hm-ink);
}

.hm-words { display: inline-block; height: 1.35em; overflow: hidden; vertical-align: bottom; }
.hm-words__track { display: block; animation: hm-words 9s cubic-bezier(.7, 0, .2, 1) infinite; }
.hm-words__track > span { display: block; height: 1.35em; white-space: nowrap; }

.hm-hero__lead { margin: 18px 0 0; max-width: 520px; font-size: 1.125rem; line-height: 1.8; color: var(--hm-muted); }

.hm-search { border-radius: 26px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.hm-search__title { font-size: 1.1875rem; }
.hm-search__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.hm-seg { display: flex; gap: 8px; }
.hm-seg__item { flex: 1; cursor: pointer; }
.hm-seg__item input { position: absolute; opacity: 0; pointer-events: none; }
.hm-seg__item span {
  display: block;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid var(--hm-field);
  background: #FFFFFF;
  text-align: center;
  font-weight: 600;
  transition: all .25s ease;
}
.hm-seg__item input:checked + span { background: var(--hm-gold); border-color: var(--hm-gold); color: #FFFFFF; }
.hm-seg__item input:focus-visible + span { outline: 2px solid var(--hm-teal); outline-offset: 2px; }

.hm-field { display: flex; flex-direction: column; gap: 6px; font-size: .8125rem; color: var(--hm-muted); }
.hm-field input, .hm-field select {
  inline-size: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--hm-field);
  background: #FFFFFF;
  color: var(--hm-ink);
  font: inherit;
  font-size: .9375rem;
  box-sizing: border-box;
}
.hm-field input:focus, .hm-field select:focus { outline: none; border-color: var(--hm-gold); box-shadow: 0 0 0 3px rgba(196, 164, 112, .25); }

/* ---------------------------------------------------------------- 2. ticker */
.hm-ticker {
  overflow: hidden;
  direction: ltr;
  padding-block: 16px;
  background: linear-gradient(90deg, #F3E4C6, #FBF3E4, #F3E4C6);
  border-block: 1px solid var(--hm-line);
}
.hm-ticker__track { display: flex; width: max-content; animation: hm-marquee 32s linear infinite; }
.hm-ticker:hover .hm-ticker__track { animation-play-state: paused; }
.hm-ticker__item {
  direction: rtl;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-inline: 28px;
  font-weight: 700;
  white-space: nowrap;
}
[dir="ltr"] .hm-ticker__item { direction: ltr; }
.hm-ticker__item svg { color: var(--hm-gold); flex: none; }

/* ---------------------------------------------------------------- 3. carousel */
.hm-carousel { position: relative; border-radius: 28px; box-shadow: 0 20px 50px rgba(120, 100, 60, .12); }
.hm-carousel__viewport { overflow: hidden; border-radius: 28px; }
.hm-carousel__track { display: flex; transition: transform .8s cubic-bezier(.7, 0, .2, 1); will-change: transform; touch-action: pan-y; }

.hm-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 48px 72px;
  box-sizing: border-box;
  overflow: hidden;
}
.hm-slide--peach { background: linear-gradient(120deg, #FCF3EA, #F1D7C0); }
.hm-slide--sand { background: linear-gradient(120deg, #FBF1DE, #EED7AA); }
.hm-slide--sky  { background: linear-gradient(120deg, #EEF1FA, #CCDBF2); }
.hm-slide--center { justify-content: center; text-align: center; }
.hm-slide--end    { justify-content: flex-end; }

.hm-slide__media, .hm-slide__media img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.hm-slide__media img { transform: scale(1.06); transition: transform 6s ease; }
.hm-slide.is-active .hm-slide__media img { transform: scale(1); }

.hm-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(20, 30, 36, .85), rgba(20, 30, 36, .15));
}
[dir="ltr"] .hm-slide__shade { background: linear-gradient(to right, rgba(20, 30, 36, .85), rgba(20, 30, 36, .15)); }

.hm-slide__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 640px; }
.hm-slide--center .hm-slide__body { align-items: center; }
.hm-slide__title { margin: 0; font-size: clamp(1.625rem, 3.4vw, 2.625rem); font-weight: 700; line-height: 1.3; color: var(--hm-ink); }
.hm-slide__text  { margin: 0; font-size: 1.125rem; color: #4D5B63; }
.hm-slide--photo .hm-slide__title, .hm-slide--photo .hm-slide__text { color: #FFFFFF; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hm-slide__cover { position: absolute; inset: 0; }

/* text slides in once its slide becomes active */
.hm-slide__body > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s var(--hm-ease); }
.hm-slide.is-active .hm-slide__body > * { opacity: 1; transform: none; }
.hm-slide.is-active .hm-slide__body > :nth-child(2) { transition-delay: .12s; }
.hm-slide.is-active .hm-slide__body > :nth-child(3) { transition-delay: .24s; }
.hm-slide.is-active .hm-slide__body > :nth-child(4) { transition-delay: .36s; }
html:not(.js) .hm-slide__body > * { opacity: 1; transform: none; }

.hm-carousel__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .85);
  color: var(--hm-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--hm-shadow);
  transition: transform .25s ease, background .25s ease;
}
.hm-carousel__arrow:hover { background: #FFFFFF; transform: scale(1.08); }
.hm-carousel__arrow--prev { inset-inline-start: 14px; }
.hm-carousel__arrow--next { inset-inline-end: 14px; }

.hm-carousel__dots {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 72px;
  display: flex;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
}
.hm-carousel__dot {
  inline-size: 8px;
  block-size: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(34, 49, 58, .25);
  cursor: pointer;
  transition: inline-size .4s ease, background .4s ease;
}
.hm-carousel__dot.is-active { inline-size: 28px; background: var(--hm-gold-ink); }

.hm-carousel__progress {
  position: absolute;
  inset-inline: 28px;
  bottom: 0;
  block-size: 3px;
  border-radius: 3px;
  background: var(--hm-gold);
  transform-origin: right;
  transform: scaleX(0);
}
[dir="ltr"] .hm-carousel__progress { transform-origin: left; }
.hm-carousel__progress.is-running { animation: hm-progress var(--hm-interval, 5.5s) linear forwards; }
.hm-carousel.is-paused .hm-carousel__progress { animation-play-state: paused; }

/* ---------------------------------------------------------------- 4. radar */
.hm-radar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.hm-radar__copy .hm-chips { margin-block-start: 22px; }
.hm-radar__copy .hm-chips + .hm-chips { margin-block-start: 12px; }
.hm-radar__copy .hm-link { margin-block-start: 22px; }

.hm-radar__map {
  position: relative;
  inline-size: min(560px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
}

.hm-radar__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  inline-size: 100%;
  block-size: 100%;
  border-radius: 50%;
  border: 2px solid var(--hm-gold);
  animation: hm-pulse 3.6s ease-out infinite;
}
.hm-radar__pulse:nth-child(2) { animation-delay: 1.2s; }
.hm-radar__pulse:nth-child(3) { animation-delay: 2.4s; }

.hm-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  inline-size: calc(var(--r) * 2);
  block-size: calc(var(--r) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(34, 49, 58, .22);
  transition: all .4s ease;
}
.hm-ring__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--hm-line);
  color: #8A959C;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.hm-radar__map[data-range="1"] .hm-ring[data-ring="1"],
.hm-radar__map[data-range="3"] .hm-ring:is([data-ring="1"], [data-ring="3"]),
.hm-radar__map[data-range="5"] .hm-ring {
  border: 2px solid var(--hm-gold);
  background: rgba(196, 164, 112, .08);
}
.hm-radar__map[data-range="1"] .hm-ring[data-ring="1"] .hm-ring__label,
.hm-radar__map[data-range="3"] .hm-ring:is([data-ring="1"], [data-ring="3"]) .hm-ring__label,
.hm-radar__map[data-range="5"] .hm-ring .hm-ring__label { color: var(--hm-gold-ink); }

.hm-radar__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  inline-size: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--hm-gold);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: clamp(.75rem, 1.4vw, 1.0625rem);
  line-height: 1.3;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 0 60px rgba(196, 164, 112, .55);
}

.hm-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  animation: hm-bob 3s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  text-decoration: none;
  color: var(--hm-ink);
  transition: opacity .4s ease;
  z-index: 1;
}
[dir="rtl"] .hm-pin { transform: translate(50%, -50%); animation-name: hm-bob-rtl; }
@keyframes hm-bob-rtl { 0%, 100% { transform: translate(50%, -50%); } 50% { transform: translate(50%, calc(-50% - 8px)); } }
.hm-pin > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.hm-pin:hover { z-index: 2; }
.hm-pin:hover > span { background: #FFFFFF; }
.hm-radar__map[data-range="1"] .hm-pin:is([data-band="3"], [data-band="5"]),
.hm-radar__map[data-range="3"] .hm-pin[data-band="5"] { opacity: .25; }

/* ---------------------------------------------------------------- 5/6. cards */
.hm-hotels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.hm-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--hm-line);
  box-shadow: var(--hm-shadow);
  transition: transform .35s var(--hm-ease), box-shadow .35s ease;
}
.hm-card:hover { transform: translateY(-10px); box-shadow: var(--hm-shadow-lg); }

.hm-card__media { position: relative; display: block; block-size: 230px; overflow: hidden; background: #E9E2D4; }
.hm-card__img { position: absolute; inset: 0; display: block; transition: transform .6s ease; }
.hm-card__img img, .hm-card__img picture, .hm-card__img .media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  color: rgba(34, 49, 58, .35);
}
.hm-card:hover .hm-card__img { transform: scale(1.08); }

.hm-card__badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hm-gold);
  color: #FFFFFF;
  font-size: .75rem;
  font-weight: 700;
}
.hm-card__more {
  position: absolute;
  inset-inline: 12px;
  bottom: 12px;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  font-size: .875rem;
  font-weight: 700;
  color: var(--hm-ink);
  opacity: 0;
  transform: translateY(10px);
  transition: all .35s ease;
}
.hm-card:hover .hm-card__more { opacity: 1; transform: none; }

.hm-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.hm-card__stars { color: #D9A21B; line-height: 1; }
.hm-card__title { margin: 0; font-size: 1.0625rem; line-height: 1.45; }
.hm-card__title a { color: var(--hm-ink); text-decoration: none; }
.hm-card__title a:hover { color: var(--hm-gold-ink); }
.hm-card__meta { margin: 0; font-size: .8125rem; color: var(--hm-soft); }
.hm-card__price { margin: 6px 0 0; display: flex; align-items: baseline; gap: 6px; }
.hm-card__price strong { font-size: 1.25rem; color: var(--hm-ink); }
.hm-card__price small { font-size: .75rem; color: var(--hm-soft); }

/* reveal: cards rise in once, when they scroll into view (home.js) */
.js .hm-reveal { opacity: 0; transform: translateY(36px); }
.js .hm-reveal.is-in { animation: hm-up .8s var(--hm-ease) both; animation-delay: var(--delay, 0s); }
.js .hm-reveal.is-in:hover { transform: translateY(-10px); }

/* rooms: animated gradient frame */
.hm-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-room {
  padding: 2px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--hm-gold-2), #F3D9B1, var(--hm-gold), #D9C3A0);
  background-size: 300% 300%;
  animation: hm-shift 6s ease infinite;
}
.js .hm-room.hm-reveal.is-in { animation: hm-up .8s var(--hm-ease) both, hm-shift 6s ease infinite; animation-delay: var(--delay, 0s), 0s; }
.hm-room__inner { border-radius: 22px; overflow: hidden; background: #FFFFFF; block-size: 100%; }
.hm-room__media { block-size: 200px; }
.hm-room__hotel { font-size: .8125rem; color: var(--hm-teal); font-weight: 600; }
.hm-room__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 8px; }
.hm-room__foot .hm-card__price { margin: 0; }

/* ---------------------------------------------------------------- 7. contact */
.hm-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 64px 56px;
  border: 1px solid var(--hm-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.hm-cta__copy, .hm-cta .hm-btn { position: relative; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hm-hotels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-radar { gap: 32px; }
}

@media (max-width: 860px) {
  .hm-hero { padding-block: 40px 56px; }
  .hm-hero__grid, .hm-radar { grid-template-columns: 1fr; }
  .hm-section { padding-block-start: 64px; }
  .hm-section--last { padding-block-end: 64px; }
  .hm-slide { min-height: 300px; padding: 36px 28px 56px; }
  .hm-carousel__dots { inset-inline-start: 28px; }
  .hm-carousel__arrow { display: none; }
  .hm-cta { padding: 40px 28px; }
  .hm-blob { filter: blur(50px); opacity: .5; }
  .hm-blob--a { width: 300px; height: 300px; }
  .hm-blob--b { width: 280px; height: 280px; }
  .hm-blob--c { display: none; }

  /* cards become a swipeable row on phones */
  .hm-hotels, .hm-rooms {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-block: 6px 18px;
    margin-inline: calc(var(--space-5, 20px) * -1);
    padding-inline: var(--space-5, 20px);
    scrollbar-width: none;
  }
  .hm-hotels::-webkit-scrollbar, .hm-rooms::-webkit-scrollbar { display: none; }
  .hm-hotels > .hm-card { flex: 0 0 78%; scroll-snap-align: start; }
  .hm-rooms > .hm-room  { flex: 0 0 85%; scroll-snap-align: start; }
  .hm-card:hover, .js .hm-reveal.is-in:hover { transform: none; }
  .hm-card__more { display: none; }
}

@media (max-width: 520px) {
  .hm-search { padding: 20px; }
  .hm-search__row { grid-template-columns: 1fr; }
  .hm-pin > span { font-size: .6875rem; padding: 4px 8px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .js .hm-reveal { opacity: 1; transform: none; }
  .hm-slide__body > * { opacity: 1; transform: none; }
  .hm-words { height: auto; }
  .hm-words__track > span:not(:first-child) { display: none; }
}

/* ---------------------------------------------------------------- section dividers
   A gold hairline with a diamond in its centre between every two
   sections (the ticker already separates the hero from the carousel).
   Pure CSS: no markup, so a section that is hidden because it has no
   data never leaves a stray divider behind.
   ------------------------------------------------------------------ */
.hm-section + .hm-section { position: relative; padding-block-start: 72px; }

.hm-section + .hm-section::before {
  content: "";
  display: block;
  inline-size: min(calc(var(--container, 1200px) - 40px), calc(100% - 40px));
  block-size: 1px;
  margin: 0 auto 72px;
  background: linear-gradient(90deg, transparent, var(--hm-gold-2) 18%, var(--hm-gold) 50%, var(--hm-gold-2) 82%, transparent);
  background-size: 200% 100%;
  animation: hm-shift 8s ease infinite;
}

.hm-section + .hm-section::after {
  content: "";
  position: absolute;
  top: 72px;
  left: 50%;
  inline-size: 12px;
  block-size: 12px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--hm-gold);
  border-radius: 2px;
  box-shadow: 0 0 0 6px var(--hm-cream), 0 0 0 7px var(--hm-line), 0 0 18px 6px rgba(196, 164, 112, .35);
}

@media (max-width: 860px) {
  .hm-section + .hm-section { padding-block-start: 48px; }
  .hm-section + .hm-section::before { margin-block-end: 48px; }
  .hm-section + .hm-section::after { top: 48px; }
}

/* ---------------------------------------------------------------- brand navy accents
   The logo's background colour (#184050), used lightly: carousel
   arrows and dots, the section dividers, link arrows and the ticker
   stars. Large areas stay light.
   ------------------------------------------------------------------ */
.hm { --hm-navy: #184050; --hm-navy-soft: rgba(24, 64, 80, .35); }

.hm-carousel__arrow { background: var(--hm-navy); color: #F8F3E9; box-shadow: 0 8px 22px rgba(24, 64, 80, .28); }
.hm-carousel__arrow:hover,
.hm-carousel__arrow:focus-visible { background: var(--hm-gold); color: var(--hm-navy); }

.hm-carousel__dot.is-active { background: var(--hm-navy); }
.hm-carousel__progress { background: linear-gradient(90deg, var(--hm-navy), var(--hm-gold)); }

.hm-link .icon { inline-size: 22px; block-size: 22px; padding: 4px; border-radius: 50%; background: var(--hm-navy); color: #F8F3E9; transition: transform .25s ease, background .25s ease; box-sizing: border-box; }
.hm-link:hover .icon { background: var(--hm-gold); color: var(--hm-navy); transform: translateX(-3px); }
[dir="ltr"] .hm-link:hover .icon { transform: translateX(3px); }

.hm-ticker__item svg { color: var(--hm-navy); }

.hm-section + .hm-section::before {
  background: linear-gradient(90deg, transparent, var(--hm-navy-soft) 15%, var(--hm-gold) 50%, var(--hm-navy-soft) 85%, transparent);
  background-size: 200% 100%;
}
.hm-section + .hm-section::after {
  background: var(--hm-navy);
  box-shadow: 0 0 0 5px var(--hm-cream), 0 0 0 6px var(--hm-gold), 0 0 18px 6px rgba(24, 64, 80, .18);
}

/* ---------------------------------------------------------------- ticker in brand navy
   The running strip takes the logo's background colour: cream text,
   gold stars, a gold hairline top and bottom, and soft fades at both
   ends so items glide in and out instead of being cut off.
   ------------------------------------------------------------------ */
.hm-ticker {
  position: relative;
  padding-block: 18px;
  background: var(--hm-navy, #184050);
  border-block: 1px solid rgba(196, 164, 112, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(24, 64, 80, .18);
  overflow: hidden;
}
/* soft fades at both ends, drawn over the moving text in the same navy */
.hm-ticker::before,
.hm-ticker::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inline-size: 8%;
  z-index: 1;
  pointer-events: none;
}
.hm-ticker::before { left: 0;  background: linear-gradient(90deg, var(--hm-navy, #184050), rgba(24, 64, 80, 0)); }
.hm-ticker::after  { right: 0; background: linear-gradient(270deg, var(--hm-navy, #184050), rgba(24, 64, 80, 0)); }
.hm-ticker__item {
  gap: 0;
  padding-inline: 0;
  color: #F8F3E9;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .2px;
}
.hm-ticker__item svg {
  color: var(--hm-gold);
  margin-inline: 30px;
  filter: drop-shadow(0 0 6px rgba(196, 164, 112, .55));
}
@media (max-width: 860px) {
  .hm-ticker { padding-block: 14px; }
  .hm-ticker__item { font-size: .875rem; }
  .hm-ticker__item svg { margin-inline: 20px; }
}
