/* =========================================================================
   Gold Suite & Spa — public site
   The look follows goldsuitespa.it: a solid black header, black and white
   bands cut on a slant, semibold headings and flat gold buttons.
   ========================================================================= */

/* ------------------------------------------------------------------------ */
/* Header                                                                    */
/* ------------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #000;
  transition: height var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  box-shadow: 0 1px 0 rgba(194, 160, 54, 0.25);
}

/* Every page starts below the header: it is solid, never over the photo. */
main { padding-top: var(--header-h); }

.site-header__inner {
  width: 100%;
  max-width: 96rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  position: relative;
}

/* --- Logo --------------------------------------------------------------- */

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: none;
  color: var(--gold-500);
}
.brand__mark { width: 1.75rem; height: 1.75rem; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }

/* Sized by height: the header is the constraint and the lockup is two lines. */
.brand__logo {
  display: block;
  height: 4.25rem;
  width: auto;
  flex: none;
  transition: height var(--d-base) var(--ease-out);
}
.site-header.is-scrolled .brand__logo { height: 3rem; }
.brand--stacked { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.brand--stacked .brand__logo { height: 4.5rem; }

.brand__name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gold-500);
  white-space: nowrap;
}
.brand__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 0.25rem;
  white-space: nowrap;
}

/* --- Navigation --------------------------------------------------------- */
/* Uppercase, 15px, medium weight; the current page sits in a gold box. */

.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav__link {
  display: block;
  padding: 0.625rem 0.9375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: color var(--d-fast) var(--ease-out), background-color var(--d-fast) var(--ease-out);
}
.nav__link:hover { color: var(--gold-500); }
.nav__link[aria-current='page'] { background: var(--gold-500); color: #000; }

/* --- Mobile menu -------------------------------------------------------- */

.nav-toggle {
  display: none;
  width: 3rem; height: 3rem;
  align-items: center; justify-content: center;
  color: var(--gold-500);
  flex: none;
}

/* The live site's burger: three gold bars of stepped length. */
.nav-toggle__bars { width: 2rem; height: 1.375rem; position: relative; }
.nav-toggle__bars span {
  position: absolute;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--d-base) var(--ease-out), opacity var(--d-fast) var(--ease-out), width var(--d-base) var(--ease-out);
}
.nav-toggle__bars span:nth-child(1) { top: 0; width: 70%; }
.nav-toggle__bars span:nth-child(2) { top: 50%; width: 100%; transform: translateY(-50%); }
.nav-toggle__bars span:nth-child(3) { bottom: 0; width: 85%; }

[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { width: 100%; transform: translateY(0.59rem) rotate(45deg); }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { width: 100%; transform: translateY(-0.59rem) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(22rem, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + var(--s-4)) var(--s-6) var(--s-8);
    background: #000;
    border-left: 1px solid rgba(194, 160, 54, 0.3);
    transform: translateX(100%);
    transition: transform var(--d-base) var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: -1;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__link {
    padding: var(--s-4) var(--s-4);
    font-size: var(--t-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--d-base) var(--ease-out), visibility var(--d-base);
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (max-width: 599px) {
  :root { --header-h: 6rem; --header-h-scrolled: 4.5rem; }
  .brand__logo { height: 4.25rem; }
  .site-header.is-scrolled .brand__logo { height: 3rem; }
}

/* ------------------------------------------------------------------------ */
/* Hero                                                                      */
/* Full-width photograph, one centred line near the bottom, an arrow, and a  */
/* slanted lower edge that the next section tucks under.                    */
/* ------------------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: min(48rem, calc(100svh - var(--header-h)));
  overflow: hidden;
  background: #000;
  color: #fff;
  --heading-color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--slant)), 0 100%);
}
.hero--full { min-height: calc(100svh - var(--header-h)); }
.hero--medium { min-height: 26rem; }

.hero__media { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-in-out);
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 24s var(--ease-in-out) infinite alternate;
}
.hero--no-motion .hero__slide img { animation: none; }

@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.09) translate3d(-1%, -1%, 0); }
}

/* Darker towards the bottom, where the words are. */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%),
    rgba(0, 0, 0, calc(var(--hero-veil, 35) / 100));
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding: var(--s-16) var(--gutter) calc(var(--slant) + var(--s-10));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__eyebrow {
  font-size: var(--t-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: var(--s-3);
}

.hero__title {
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: pre-line;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero__body {
  margin-top: var(--s-4);
  font-size: var(--t-md);
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }

.hero__scroll {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  margin-top: var(--s-4);
  color: #fff;
  animation: nudge 2.4s var(--ease-in-out) infinite;
}
.hero__scroll svg { width: 2rem; height: 2rem; stroke-width: 2.5; }
.hero__scroll:hover { color: var(--gold-500); }

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* The anchor sits under the slant so the scroll lands on the next heading. */
.hero__anchor { display: block; height: 0; }

@media (max-width: 599px) {
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero__title { font-size: 2rem; }
}

/* ------------------------------------------------------------------------ */
/* Feature strip                                                             */
/* ------------------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.feature {
  padding: var(--s-10) var(--s-6);
  text-align: center;
  position: relative;
}
.feature + .feature::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(194, 160, 54, 0.22);
}

.feature__icon {
  width: 2rem; height: 2rem;
  margin: 0 auto var(--s-4);
  color: var(--gold-500);
  transition: transform var(--d-base) var(--ease-spring);
}
.feature:hover .feature__icon { transform: translateY(-4px) scale(1.08); }

.feature__title {
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}

.feature__body {
  font-size: var(--t-sm);
  color: var(--text-on-dark-muted);
  line-height: var(--lh-snug);
  max-width: 18rem;
  margin-inline: auto;
}
.section--cream .feature__body { color: var(--text-on-light-muted); }

/* Below the desktop width a four-up strip leaves an orphan on its own row,
   so it drops straight to two columns rather than three-plus-one. */
@media (max-width: 899px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { padding: var(--s-6) var(--s-4); }
  .feature + .feature::before { display: none; }
  .features .feature { border-top: 1px solid rgba(194, 160, 54, 0.15); }
  .features .feature:nth-child(-n+2) { border-top: 0; }
  .features .feature:nth-child(odd) { border-right: 1px solid rgba(194, 160, 54, 0.15); }
}

@media (max-width: 419px) {
  .features { grid-template-columns: 1fr; }
  .features .feature:nth-child(odd) { border-right: 0; }
  .features .feature:nth-child(2) { border-top: 1px solid rgba(194, 160, 54, 0.15); }
}

/* ------------------------------------------------------------------------ */
/* Bands                                                                     */
/* Black sections are cut on a slant at top and bottom, both edges rising   */
/* to the right, so white and black interlock as on goldsuitespa.it.        */
/* ------------------------------------------------------------------------ */

.band { position: relative; padding-block: calc(var(--section-y) * 0.8); }
.band--light { background: #fff; color: var(--text-on-light); --heading-color: var(--heading-on-light); }
.band--dark {
  background: #000;
  color: #fff;
  --heading-color: #fff;
  clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
  padding-block: calc(var(--section-y) * 0.8 + var(--slant));
  /* Pull neighbours under the cut so no white wedge shows through. */
  margin-block: calc(var(--slant) * -1);
  z-index: 1;
}

/* ------------------------------------------------------------------------ */
/* Section headers                                                           */
/* ------------------------------------------------------------------------ */

/* Centred title and subtitle — "Servizi esclusivi…", "Camere". */
.page-intro { text-align: center; max-width: 48rem; margin: 0 auto var(--s-10); }
.page-intro__title { font-size: var(--t-2xl); }
.page-intro__body { margin-top: var(--s-3); font-size: var(--t-base); }
.page-intro .eyebrow { color: var(--gold-600); }

.section-actions { display: flex; justify-content: center; margin-top: var(--s-10); }

/* Kept for blocks that still use the split header. */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s-6) var(--s-10);
  margin-bottom: var(--s-10);
}
.section-head__title { font-size: var(--t-2xl); }
.section-head__body { font-size: var(--t-base); color: var(--text-on-light-muted); max-width: 34rem; }
.section--dark .section-head__body { color: var(--text-on-dark-muted); }
.section-head__link { justify-self: end; }

@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-4); }
  .section-head__link { justify-self: start; }
}

/* Page heading with breadcrumb, as on /camere and /contatti. */
.page-head { text-align: center; padding-block: var(--s-10) var(--s-8); }
.page-head__crumbs { font-size: var(--t-xs); margin-bottom: var(--s-3); color: var(--text-on-light); }
.page-head__crumbs a:hover { color: var(--gold-600); }
.page-head__title { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); color: #000; }
.page-head__sub { margin-top: var(--s-3); font-size: var(--t-sm); font-weight: 700; }

/* Photo band with a centred title — the top of /prenota. */
.page-banner {
  position: relative;
  min-height: 11rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  --heading-color: #fff;
}
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.page-banner__title { position: relative; z-index: 1; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); }

/* ------------------------------------------------------------------------ */
/* Suite cards                                                               */
/* ------------------------------------------------------------------------ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: var(--s-5);
}
@media (max-width: 1023px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .card-grid { grid-template-columns: 1fr; } }

.suite-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-800);
  isolation: isolate;
}

.suite-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}
.suite-card:hover .suite-card__img { transform: scale(1.05); }

/* The label: a translucent dark box, top left. */
.suite-card__label {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  padding: 0.5rem 0.875rem 0.625rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  line-height: 1.25;
  max-width: calc(100% - var(--s-6));
}
.suite-card__name { display: block; font-size: var(--t-sm); }
.suite-card__price { display: block; font-size: var(--t-sm); }
.suite-card__price strong { font-size: var(--t-base); }

/* The /camere grid: two big photographs per row, like the live page. */
.card-grid--rooms { max-width: 68rem; margin-inline: auto; gap: var(--s-5) var(--s-4); }
.card-grid--rooms .suite-card { aspect-ratio: 4 / 3; }

/* ------------------------------------------------------------------------ */
/* Suite page                                                                */
/* ------------------------------------------------------------------------ */

.hero__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-3);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}
.hero__more svg { width: 1.75rem; height: 1.75rem; stroke-width: 2.5; color: #fff; }
.hero__more:hover, .hero__more:hover svg { color: var(--gold-500); }

.suite-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--s-10);
  align-items: start;
  max-width: 72rem;
}

.suite-gallery__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bone-200); }
.suite-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.suite-gallery__thumb { display: block; padding: 0; opacity: 0.75; transition: opacity var(--d-fast) var(--ease-out); outline-offset: 2px; }
.suite-gallery__thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.suite-gallery__thumb:hover,
.suite-gallery__thumb[aria-current='true'] { opacity: 1; }
.suite-gallery__thumb[aria-current='true'] { box-shadow: 0 0 0 2px var(--gold-500); }
@media (min-width: 900px) { .suite-gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.suite-panel { background: var(--bone-200); padding: var(--s-8); position: sticky; top: calc(var(--header-h-scrolled) + var(--s-4)); }
.suite-panel__name { font-size: var(--t-xl); margin-bottom: var(--s-3); }
.suite-panel__text { font-size: var(--t-base); line-height: 1.4; }
.suite-panel__label { font-weight: 700; margin: var(--s-5) 0 var(--s-2); }
.suite-panel__amenities { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--t-sm); }
.suite-panel__rule { width: 2.5rem; border: 0; border-top: 2px solid #000; opacity: 1; margin: var(--s-6) 0; }
.suite-panel__price { font-size: var(--t-base); line-height: 1.4; }
.suite-panel__price span { display: block; font-weight: 700; }
.suite-panel__price strong { font-size: var(--t-md); }
.suite-panel .suite-panel__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.suite-panel__fields .input { min-width: 0; }
.suite-panel .suite-panel__fields .field:last-child { grid-column: 1 / -1; }
.suite-panel__nights { font-size: var(--t-xs); margin: var(--s-2) 0 var(--s-3); min-height: 1em; }
.suite-panel__note { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--text-on-light-muted); }

@media (max-width: 899px) {
  .suite-detail { grid-template-columns: minmax(0, 1fr); }
  .suite-panel { position: static; padding: var(--s-6); }
}
/* Two date fields side by side need about 22rem of screen. */
@media (max-width: 379px) {
  .suite-panel .suite-panel__fields { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------------ */
/* Day use — as on goldsuitespa.it/camera-day-use                           */
/* ------------------------------------------------------------------------ */

.dayuse-intro { max-width: 52rem; margin: 0 auto var(--s-10); text-align: center; font-size: var(--t-base); }

.dayuse {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: var(--s-8);
  max-width: 64rem;
  margin-inline: auto;
  padding: var(--s-6);
  background: #fff;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  scroll-margin-top: calc(var(--header-h-scrolled) + var(--s-4));
}

.dayuse__info { background: var(--bone-200); padding: var(--s-5); align-self: start; }
.dayuse__badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-2); font-size: var(--t-sm); }
.dayuse__duration { display: inline-flex; align-items: center; gap: 0.3rem; }
.dayuse__duration svg { width: 1rem; height: 1rem; color: #000; }
.dayuse__price { padding: 0.125rem 0.5rem; background: var(--gold-500); color: #000; font-weight: 700; }
.dayuse__name { font-size: var(--t-xl); color: #000; margin-bottom: var(--s-2); }
.dayuse__note { font-size: var(--t-sm); color: var(--text-on-light-muted); }
.dayuse__label { font-weight: 700; margin: var(--s-5) 0 var(--s-3); }
.dayuse__hours { display: flex; flex-direction: column; gap: var(--s-3); }
.dayuse__hours li { display: flex; align-items: center; gap: var(--s-2); }
.dayuse__hours svg { width: 1.125rem; height: 1.125rem; color: var(--gold-600); }

.dayuse__picker { position: relative; min-width: 0; }
.dayuse__step { font-size: var(--t-xl); color: #000; }
.dayuse__day { font-weight: 700; margin-bottom: var(--s-4); }
.dayuse__back {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: var(--s-3);
  border-radius: var(--r-full);
  background: #000; color: #fff;
}
.dayuse__back:hover { background: var(--gold-500); color: #000; }
.dayuse__back svg { width: 1.25rem; height: 1.25rem; }

.cal-month { border: 1px solid var(--bone-300); padding: var(--s-3); }
.cal-month__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-3); }
.cal-month__title { font-size: var(--t-sm); text-transform: capitalize; }
.cal-month__nav { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; color: #000; }
.cal-month__nav svg { width: 1.125rem; height: 1.125rem; }
a.cal-month__nav:hover { color: var(--gold-600); }
.cal-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-1); text-align: center; }
.cal-month__wd { font-size: var(--t-xs); color: var(--text-on-light-faint); padding-bottom: var(--s-2); }
.cal-month__day {
  display: grid; place-items: center;
  min-height: 2.75rem;
  font-size: var(--t-sm);
  color: var(--text-on-light-faint);
}
.cal-month__day.is-free { background: var(--bone-300); color: #000; font-weight: 700; transition: background-color var(--d-fast) var(--ease-out); }
.cal-month__day.is-free:hover { background: var(--gold-500); }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--s-3); }
.slot {
  display: flex; flex-direction: column; align-items: center; gap: 0.125rem;
  padding: var(--s-4) var(--s-3);
  background: #000; color: #fff;
  text-align: center;
  transition: background-color var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out);
}
a.slot:hover { background: var(--gold-500); color: #000; }
.slot__date { font-size: var(--t-sm); }
.slot__time { font-size: var(--t-lg); }
.slot__until { font-size: var(--t-xs); opacity: 0.8; }
.slot.is-off { background: var(--bone-300); color: var(--text-on-light-faint); cursor: not-allowed; }

@media (max-width: 767px) {
  .dayuse { grid-template-columns: 1fr; padding: var(--s-4); }
}

.booking-card__title { font-size: var(--t-lg); color: #000; margin-bottom: var(--s-5); }

/* ------------------------------------------------------------------------ */
/* Contact page                                                              */
/* ------------------------------------------------------------------------ */

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--s-12);
  align-items: start;
  max-width: 68rem;
  margin-inline: auto;
}
.contact-form { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-form__title { font-size: var(--t-xl); text-align: center; color: #000; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.contact-form__privacy { justify-content: flex-start; text-align: left; font-size: var(--t-base); }
.contact-form__privacy a { text-decoration: underline; }

.contact-info { text-align: center; font-size: var(--t-sm); }
.contact-info__company { font-weight: 700; margin-bottom: var(--s-1); }
.contact-info__list { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-6); font-size: var(--t-base); }
.contact-info__list a { display: inline-flex; align-items: center; gap: var(--s-3); }
.contact-info__list a:hover { color: var(--gold-600); }
.contact-info__list svg { width: 1.125rem; height: 1.125rem; }
.contact-info__list li:nth-child(2) svg { color: #128C7E; }

@media (max-width: 899px) {
  .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------------ */
/* Booking search (/prenota)                                                 */
/* ------------------------------------------------------------------------ */

.booking-search__title { font-size: var(--t-xl); color: #000; }
.booking-search .rule { color: #000; }
.booking-search__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: var(--s-4) var(--s-5);
}
.booking-search__form .field__label { font-weight: 700; color: #000; }
.booking-search__form .input,
.booking-search__form .select { background: var(--bone-200); border-color: transparent; }
.booking-search__submit { min-height: 3rem; }
.booking-search__nights { margin-top: var(--s-4); }
.booking-search__empty {
  margin-top: var(--s-10);
  padding: var(--s-10) var(--s-6);
  background: var(--bone-200);
  text-align: center;
  font-size: var(--t-lg);
  font-weight: 700;
  color: #000;
}
.booking-search__empty svg { width: 2.5rem; height: 2.5rem; margin: 0 auto var(--s-3); stroke-width: 2; }

@media (max-width: 899px) {
  .booking-search__form { grid-template-columns: 1fr 1fr; }
  .booking-search__form .field:nth-child(3) { grid-column: 1 / -1; }
  .booking-search__submit { grid-column: 1 / -1; }
}

.result-card {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto;
  gap: var(--s-6);
  align-items: center;
  padding: var(--s-4);
}
.result-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone-200); }
.result-card__media img { width: 100%; height: 100%; object-fit: cover; }
.result-card__price { text-align: right; min-width: 11rem; }
@media (max-width: 767px) {
  .result-card { grid-template-columns: 1fr; }
  .result-card__price { text-align: left; }
}

/* ------------------------------------------------------------------------ */
/* Rail — a horizontal strip of cards                                        */
/* ------------------------------------------------------------------------ */

.rail-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  align-items: center;
  gap: var(--s-10);
}
.rail-section__head { padding-right: var(--s-6); border-right: 1px solid var(--bone-300); }
.rail-section__title { font-size: var(--t-xl); text-transform: uppercase; }
.rail-section__body { margin-top: var(--s-3); font-size: var(--t-base); }

.rail { min-width: 0; }
.rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--s-4)) / 3);
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: 4px; }
.rail__item { scroll-snap-align: start; aspect-ratio: 4 / 3; }

.rail__nav { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-4); }
.rail__btn {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid var(--bone-400);
  color: #000;
  transition: background-color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out);
}
.rail__btn:hover { background: var(--gold-500); border-color: var(--gold-500); }
.rail__btn svg { width: 1.125rem; height: 1.125rem; }
.rail__btn:disabled { opacity: 0.35; cursor: default; background: none; border-color: var(--bone-300); }

@media (max-width: 899px) {
  .rail-section__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .rail-section__head { border-right: 0; padding-right: 0; }
  .rail__track { grid-auto-columns: 78%; }
}

/* ------------------------------------------------------------------------ */
/* Suite rows — photograph left, text right, on alternating bands           */
/* ------------------------------------------------------------------------ */

.suite-rows { position: relative; }

.suite-row__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s-8) var(--s-12);
  max-width: 72rem;
}
.suite-row__media { display: block; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18); overflow: hidden; }
.suite-row__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform var(--d-slow) var(--ease-out); }
.suite-row__media:hover img { transform: scale(1.04); }

.suite-row__name { font-size: var(--t-2xl); margin-bottom: var(--s-4); }
.suite-row__text { font-size: var(--t-base); line-height: 1.45; }
.suite-row__text p { margin: 0; }
.suite-row__btn { display: flex; width: fit-content; margin: var(--s-8) auto 0; }

@media (max-width: 767px) {
  .suite-row__inner { grid-template-columns: 1fr; }
  .suite-row__btn { margin-inline: 0; }
}

/* ------------------------------------------------------------------------ */
/* Package cards                                                             */
/* ------------------------------------------------------------------------ */

/* Light grey card, as the booking panel on the live suite pages; the dark
   variant is kept for a package block placed on a black section. */
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bone-200);
  color: var(--text-on-light);
  --heading-color: #000;
}
.section--dark .package-card { background: var(--ink-800); color: #fff; --heading-color: #fff; }

.package-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-800); }
.package-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease-out); }
.package-card:hover .package-card__media img { transform: scale(1.05); }
.package-card__badge { position: absolute; top: var(--s-4); right: var(--s-4); }

.package-card__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.package-card__name { font-size: var(--t-lg); }
.package-card__desc { font-size: var(--t-base); line-height: 1.4; flex: 1; }
.package-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-4); }
.package-card__price { display: flex; align-items: baseline; gap: 0.375rem; }
.package-card__price-from { font-size: var(--t-sm); }
.package-card__price-value { font-size: var(--t-lg); font-weight: 700; }
.section--dark .package-card__price-value { color: var(--gold-500); }
.package-card__price-was { font-size: var(--t-sm); opacity: 0.6; text-decoration: line-through; }

.packages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-10);
  align-items: center;
}
.packages-layout__script { text-align: right; white-space: pre-line; }
@media (max-width: 1199px) {
  .packages-layout { grid-template-columns: 1fr; }
  .packages-layout__script { text-align: left; }
}

/* ------------------------------------------------------------------------ */
/* Gallery                                                                   */
/* ------------------------------------------------------------------------ */

.gallery-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 899px) { .gallery-strip { grid-template-columns: 1fr; gap: var(--s-6); } }

.gallery-rail {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
  padding-bottom: var(--s-3);
  /* Fade the right edge so it reads as scrollable without a visible bar. */
  mask-image: linear-gradient(90deg, #000 0 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0 94%, transparent 100%);
}
.gallery-rail::-webkit-scrollbar { height: 4px; }
.gallery-rail::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: var(--r-full); }
.gallery-rail::-webkit-scrollbar-track { background: transparent; }

.gallery-rail__item {
  flex: 0 0 auto;
  width: clamp(8rem, 18vw, 11rem);
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  background: linear-gradient(140deg, var(--bone-300), var(--bone-200));
}
.section--dark .gallery-rail__item { background: linear-gradient(140deg, var(--ink-700), var(--ink-900)); }
.gallery-rail__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--d-base) var(--ease-out), filter var(--d-base) var(--ease-out);
}
.gallery-rail__item:hover img { transform: scale(1.06); filter: brightness(1.08); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(9rem, 22vw, 15rem), 1fr));
  gap: var(--s-3);
}
.gallery-grid__item {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  background: linear-gradient(140deg, var(--ink-700), var(--ink-900));
}
.section--cream .gallery-grid__item { background: linear-gradient(140deg, var(--bone-300), var(--bone-200)); }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-base) var(--ease-out); }
.gallery-grid__item:hover img { transform: scale(1.05); }

/* Masonry via CSS columns — no JavaScript, no layout thrash. */
.gallery-masonry {
  columns: 4 16rem;
  column-gap: var(--s-3);
}
.gallery-masonry__item {
  break-inside: avoid;
  margin-bottom: var(--s-3);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: linear-gradient(140deg, var(--bone-300), var(--bone-200));
}

/* ------------------------------------------------------------------------ */
/* Reviews                                                                   */
/* ------------------------------------------------------------------------ */

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: var(--s-10);
  align-items: start;
}
@media (max-width: 899px) { .reviews-layout { grid-template-columns: 1fr; gap: var(--s-6); } }

.reviews-rail {
  display: flex;
  gap: var(--s-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--s-2);
}
.reviews-rail::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 auto;
  width: clamp(16rem, 26vw, 19rem);
  scroll-snap-align: start;
  padding: var(--s-6);
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid rgba(194, 160, 54, 0.16);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: border-color var(--d-base) var(--ease-out), background-color var(--d-base) var(--ease-out);
}
.review-card:hover { border-color: rgba(194, 160, 54, 0.38); background: rgba(244, 241, 234, 0.06); }

.review-card__body {
  font-size: var(--t-sm);
  line-height: var(--lh-base);
  color: var(--text-on-dark);
  flex: 1;
}
.review-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.review-card__author { font-size: var(--t-xs); color: var(--text-on-dark-faint); }

.reviews-summary {
  flex: 0 0 auto;
  width: clamp(14rem, 22vw, 16rem);
  scroll-snap-align: start;
  padding: var(--s-6);
  background: rgba(194, 160, 54, 0.07);
  border: 1px solid rgba(194, 160, 54, 0.28);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  text-align: center;
}
.reviews-summary__score { font-size: var(--t-2xl); font-weight: 600; color: var(--text-on-dark); line-height: 1; }
.reviews-summary__score sup { font-size: 0.4em; color: var(--text-on-dark-faint); vertical-align: super; }
.reviews-summary__count { font-size: var(--t-xs); color: var(--text-on-dark-muted); }

.rail-nav { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.rail-nav__btn {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: var(--r-full);
  color: var(--text-on-dark);
  transition: background-color var(--d-fast) var(--ease-out),
              border-color var(--d-fast) var(--ease-out),
              color var(--d-fast) var(--ease-out);
}
.rail-nav__btn:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--ink-900); }
.rail-nav__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.rail-nav__btn svg { width: 1rem; height: 1rem; }

/* ------------------------------------------------------------------------ */
/* Contact block                                                             */
/* ------------------------------------------------------------------------ */

.contact-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 24rem;
}
@media (max-width: 1023px) { .contact-block { grid-template-columns: 1fr; } }

.contact-block__media { position: relative; overflow: hidden; min-height: 14rem; }
.contact-block__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.contact-block__panel {
  background: var(--bone-200);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-5);
}

.contact-block__title { font-size: var(--t-xl); font-weight: 600; white-space: pre-line; }

.contact-list { display: flex; flex-direction: column; gap: var(--s-3); }
.contact-list__item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-sm);
  color: var(--text-on-light);
  transition: color var(--d-fast) var(--ease-out);
}
.contact-list__item svg { width: 1.125rem; height: 1.125rem; color: var(--gold-700); flex: none; }
a.contact-list__item:hover { color: var(--gold-700); }

.contact-block__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); }

.contact-block__map { position: relative; min-height: 14rem; background: var(--bone-300); }
.contact-block__map iframe,
.contact-block__map img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }

/* ------------------------------------------------------------------------ */
/* CTA band                                                                  */
/* ------------------------------------------------------------------------ */

.cta-band {
  position: relative;
  padding-block: var(--section-y);
  text-align: center;
  overflow: hidden;
}
/* Flat colours only — the live site has no gradients. */
.cta-band--gold { background: var(--gold-500); color: #000; --heading-color: #000; }
.cta-band--light { background: #fff; color: var(--text-on-light); --heading-color: var(--heading-on-light); border-top: 1px solid var(--bone-300); }
.cta-band--dark { background: #000; color: #fff; --heading-color: #fff; }
.cta-band--image { color: #fff; --heading-color: #fff; }
.cta-band--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band--image .cta-band__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__title { font-size: var(--t-2xl); margin-bottom: var(--s-4); }
.cta-band__body { max-width: 40rem; margin: 0 auto var(--s-8); opacity: 0.9; }

/* ------------------------------------------------------------------------ */
/* Split (text + image)                                                      */
/* ------------------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--flip .split__media { order: -1; }
@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

.split__media {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, var(--ink-700), var(--ink-900));
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__content > * + * { margin-top: var(--s-4); }

.bullet-list { display: flex; flex-direction: column; gap: var(--s-3); }
.bullet-list__item { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--t-sm); }
.bullet-list__item svg { width: 1.125rem; height: 1.125rem; color: var(--gold-600); flex: none; margin-top: 0.15rem; }

/* ------------------------------------------------------------------------ */
/* Services                                                                  */
/* ------------------------------------------------------------------------ */

/* Photo tiles, bold white name at the top left. */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
@media (max-width: 767px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform var(--d-slow) var(--ease-out), opacity var(--d-base) var(--ease-out); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%); }
.tile:hover .tile__img { transform: scale(1.05); opacity: 1; }
.tile__name {
  position: absolute;
  z-index: 1;
  top: var(--s-4); left: var(--s-5); right: var(--s-5);
  font-size: var(--t-lg);
  font-weight: 700;
}

.service-card {
  background: var(--bone-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.service-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card__icon {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: #000;
  color: var(--gold-500);
}
.service-card__icon svg { width: 3rem; height: 3rem; }
.service-card__body { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.section--dark .service-card { background: var(--ink-800); }
.service-card__name { font-size: var(--t-lg); }
.service-card__desc { font-size: var(--t-base); color: var(--text-on-light-muted); flex: 1; }
.section--dark .service-card__desc { color: var(--text-on-dark-muted); }
.service-card__price { font-size: var(--t-base); font-weight: 700; color: #000; }
.section--dark .service-card__price { color: var(--gold-500); }

/* ------------------------------------------------------------------------ */
/* Included in the stay                                                      */
/* ------------------------------------------------------------------------ */

.included { text-align: center; }
.included__times {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4) clamp(3rem, 12vw, 10rem);
  margin-bottom: var(--s-10);
}
.included__time { display: inline-flex; align-items: center; gap: var(--s-3); }
.included__time svg { width: 1.625rem; height: 1.625rem; color: var(--gold-600); }
.included__title {
  font-size: var(--t-xl);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--s-8);
}
.included__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4) var(--s-8);
  max-width: 76rem;
  margin-inline: auto;
}
.included__list li { display: inline-flex; align-items: center; gap: var(--s-2); }
.included__list svg { width: 1.25rem; height: 1.25rem; color: var(--gold-600); stroke-width: 3; flex: none; }
@media (max-width: 767px) {
  .included__list { justify-content: center; }
}

/* ------------------------------------------------------------------------ */
/* Stats                                                                     */
/* ------------------------------------------------------------------------ */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--s-8); text-align: center; }
.stat__value { font-size: var(--t-2xl); font-weight: 700; color: var(--gold-500); line-height: 1; }
.stat__label {
  font-size: var(--t-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-top: var(--s-2);
}
.section--cream .stat__value { color: var(--gold-700); }
.section--cream .stat__label { color: var(--text-on-light-muted); }

/* ------------------------------------------------------------------------ */
/* FAQ                                                                       */
/* ------------------------------------------------------------------------ */

.faq { max-width: 52rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--bone-300); }
.section--dark .faq__item { border-bottom-color: rgba(244, 241, 234, 0.12); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: var(--s-5) 0;
  text-align: left;
  font-size: var(--t-md);
  font-weight: 400;
  cursor: pointer;
  transition: color var(--d-fast) var(--ease-out);
}
.faq__q:hover { color: var(--gold-700); }
.section--dark .faq__q:hover { color: var(--gold-400); }
.faq__q svg { width: 1.125rem; height: 1.125rem; flex: none; color: var(--gold-600); transition: transform var(--d-base) var(--ease-out); }
.faq__item[open] .faq__q svg { transform: rotate(180deg); }

.faq__a { padding: 0 0 var(--s-5); font-size: var(--t-sm); line-height: var(--lh-loose); color: var(--text-on-light-muted); max-width: 46rem; }
.section--dark .faq__a { color: var(--text-on-dark-muted); }

/* ------------------------------------------------------------------------ */
/* Embed                                                                     */
/* ------------------------------------------------------------------------ */

.embed { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--ink-800); }
.embed--16x9 { aspect-ratio: 16 / 9; }
.embed--4x3  { aspect-ratio: 4 / 3; }
.embed--1x1  { aspect-ratio: 1; }
.embed--21x9 { aspect-ratio: 21 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------------ */
/* Spacer                                                                    */
/* ------------------------------------------------------------------------ */

.spacer--small  { height: var(--s-8); }
.spacer--medium { height: var(--s-16); }
.spacer--large  { height: var(--s-24); }
.spacer__divider { height: 1px; background: currentColor; opacity: 0.12; }

/* ------------------------------------------------------------------------ */
/* Footer                                                                    */
/* ------------------------------------------------------------------------ */

.site-footer {
  background: #000;
  color: #fff;
  --heading-color: #fff;
  padding-block: var(--s-12) var(--s-6);
  font-size: 0.875rem;
}

.footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 22rem) minmax(0, 1fr);
  align-items: start;
  gap: var(--s-8);
}
.footer__brand { display: block; padding-right: var(--s-8); border-right: 1px solid rgba(255, 255, 255, 0.35); }
.footer__brand img { height: 4.5rem; width: auto; }
.footer__about { line-height: 1.35; padding-right: var(--s-8); border-right: 1px solid rgba(255, 255, 255, 0.35); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.footer__cols > * { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); }
.footer__heading { font-size: 1.25rem; margin-bottom: var(--s-2); }
.footer__link { color: #fff; transition: color var(--d-fast) var(--ease-out); }
.footer__link:hover { color: var(--gold-500); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  margin-top: var(--s-10);
  padding-left: calc(9.5rem + var(--s-16));
}
.footer__company { font-style: normal; line-height: 1.35; }
.footer__company-name { display: block; font-weight: 400; }
.footer__pay { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); font-size: 0.8125rem; }
.footer__pay img { width: 18.75rem; height: auto; }

.footer__copy { margin-top: var(--s-8); font-size: var(--t-xs); color: var(--text-on-dark-faint); text-align: center; }

@media (max-width: 1023px) {
  .footer__top { grid-template-columns: auto minmax(0, 1fr); }
  .footer__about { border-right: 0; padding-right: 0; }
  .footer__cols { grid-column: 1 / -1; }
  .footer__bottom { padding-left: 0; }
}
@media (max-width: 599px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { border-right: 0; padding-right: 0; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__pay { align-items: flex-start; }
}

.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: var(--s-6);
  z-index: var(--z-sticky);
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: rgba(16, 15, 12, 0.85);
  border: 1px solid rgba(194, 160, 54, 0.35);
  border-radius: var(--r-full);
  color: var(--gold-400);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity var(--d-base) var(--ease-out),
              visibility var(--d-base),
              transform var(--d-base) var(--ease-out),
              background-color var(--d-fast) var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-300); color: var(--ink-900); }
.to-top svg { width: 1.125rem; height: 1.125rem; }

/* WhatsApp quick action sits opposite the back-to-top so they never collide. */
.wa-float {
  position: fixed;
  left: var(--gutter);
  bottom: var(--s-6);
  z-index: var(--z-sticky);
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: #128C7E;
  color: #fff;
  border-radius: var(--r-full);
  box-shadow: var(--sh-lg);
  transition: transform var(--d-base) var(--ease-spring);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 1.375rem; height: 1.375rem; }

@media (max-width: 599px) {
  .to-top { bottom: var(--s-4); right: var(--s-4); }
  .wa-float { bottom: var(--s-4); left: var(--s-4); width: 2.75rem; height: 2.75rem; }
  /* While booking, a floating disc would sit on top of fields and prices. */
  body:not(:has(.action-bar)) .wa-float { display: none; }
}

/* ------------------------------------------------------------------------ */
/* Image loading                                                             */
/* ------------------------------------------------------------------------ */

/* Images fade in over their container's placeholder tint. `content-visibility`
   is deliberately not used here: it would hide images from in-page search. */
.gallery-grid__item img,
.gallery-rail__item img,
.gallery-masonry__item img,
.package-card__media img,
.split__media img {
  opacity: 0;
  animation: img-in var(--d-base) var(--ease-out) forwards;
}
@keyframes img-in { to { opacity: 1; } }

/* A visitor without JavaScript, or one who has already cached the image,
   must never be left staring at a transparent box. */
.no-js .gallery-grid__item img,
.no-js .gallery-rail__item img,
.no-js .gallery-masonry__item img,
.no-js .package-card__media img,
.no-js .split__media img { opacity: 1; animation: none; }

/* ------------------------------------------------------------------------ */
/* Map placeholder                                                           */
/* Google Maps sets third-party cookies, so the frame is only created when   */
/* the visitor asks for it. Until then the address and a directions link are */
/* right there — which is what most people actually wanted anyway.           */
/* ------------------------------------------------------------------------ */

.map-embed {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--s-6);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(26, 23, 16, .022) 14px, rgba(26, 23, 16, .022) 28px),
    var(--bone-200);
}
.map-embed.is-loaded { display: block; padding: 0; background: var(--bone-300); }

.map-embed__note {
  text-align: center;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.map-embed__icon { color: var(--gold-700); }
.map-embed__icon svg { width: 1.75rem; height: 1.75rem; }
.map-embed__address { font-size: var(--t-sm); font-weight: 600; line-height: 1.5; margin: 0; }
.map-embed__hint { font-size: var(--t-xs); color: var(--text-on-light-muted); line-height: 1.55; margin: 0; }

/* Without JavaScript the button cannot do anything, so it is hidden and the
   plain link to Google Maps carries the visitor instead. */
.no-js .map-embed [data-map-load] { display: none; }

/* ------------------------------------------------------------------------ */
/* Pieces that only the Notturno style shows (theme-notturno.css)            */
/* ------------------------------------------------------------------------ */

.action-bar,
.suite-row__index,
.suite-row__amenities,
.suite-row__price { display: none; }

/* ------------------------------------------------------------------------ */
/* Formatted text from the builder, and the legal pages                      */
/* The reset strips margins and list bullets, so prose puts them back.       */
/* ------------------------------------------------------------------------ */

.prose { font-size: var(--t-base); line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.15; margin-bottom: 0.25em; }
.prose h2 { font-size: var(--t-xl); margin-top: 2.25em; }
.prose h3 { font-size: var(--t-lg); margin-top: 1.75em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--gold-600); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--gold-600); }
.prose code { font-size: 0.875em; font-family: var(--font-mono); padding: 0.1em 0.35em; background: var(--bone-200); border-radius: 3px; word-break: break-word; }

.legal { padding-top: calc(var(--section-y) * 0.6); }
.legal__updated { font-size: var(--t-sm); color: var(--text-on-light-muted); }
.legal__table { overflow-x: auto; margin-top: 1.25em; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 1.5; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--bone-300); }
.legal__table th { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-on-light-muted); font-weight: 600; }
.legal__table td:first-child { white-space: nowrap; }
@media (max-width: 599px) { .legal__table td:first-child { white-space: normal; } }
.legal__consent { padding: 0; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* Company registration details under the property address */
.footer__legal { display: block; margin-top: var(--s-4); font-size: 0.8125rem; line-height: 1.5; opacity: 0.85; }

/* Touch targets: small text links get a taller hit area on phones (WCAG 2.5.8). */
@media (max-width: 767px) {
  .footer__link { display: inline-block; padding-block: 0.3rem; }
  .footer__cols > * { gap: 0; }
  .page-head__crumbs a, .eyebrow a { display: inline-block; padding-block: 0.4rem; }
}
