/* =========================================================================
   Stile «Notturno»
   Loaded after site.css and forms.css when Impostazioni → Struttura → Stile
   del sito is set to Notturno. Same markup, same content: only the look
   changes, so switching back to Classico is one setting.

   The idea: suites with a private spa, lived mostly in the evening. Near-black
   and graphite surfaces, photographs edge to edge, light-weight headings with
   air around them. Gold is kept for small signals only — the logo, eyebrows,
   the active menu line, stars and the focus ring. Buttons are ivory, not gold.
   ========================================================================= */

:root {
  color-scheme: dark;

  --n-bg:      #0C0C0D;   /* page */
  --n-bg-2:    #121214;   /* alternate sections */
  --n-bg-3:    #18181B;   /* cards, fields */
  --n-bg-4:    #212125;   /* hover on cards */
  --n-line:    rgba(255, 255, 255, 0.09);
  --n-line-2:  rgba(255, 255, 255, 0.16);
  --n-text:    #EDEAE4;   /* warm white: pure #fff glares on black */
  --n-muted:   #B8B3AA;   /* ≥ 8:1 on the page */
  --n-faint:   #9A958C;   /* the dimmest text allowed: ≥ 5.5:1 */
  --n-ivory:   #F2EEE6;   /* primary buttons */
  --n-accent:  var(--gold-400);

  /* The shared components read these tokens, so re-pointing them turns every
     "light" surface — cards, fields, summaries — dark in one go. */
  --bone-50:  var(--n-bg);
  --bone-100: var(--n-bg);
  --bone-200: var(--n-bg-3);
  --bone-300: var(--n-line-2);
  --bone-400: rgba(255, 255, 255, 0.24);

  --text-on-light:       var(--n-text);
  --text-on-light-muted: var(--n-muted);
  --text-on-light-faint: var(--n-faint);
  --heading-on-light:    var(--n-text);
  --text-on-dark:        var(--n-text);
  --text-on-dark-muted:  var(--n-muted);
  --text-on-dark-faint:  var(--n-faint);

  --section-y: clamp(4.5rem, 8vw, 8rem);
  --header-h: 5.5rem;
  --header-h-scrolled: 4.25rem;
  --r-field: 2px;
}

body { background: var(--n-bg); color: var(--n-text); }
::selection { background: var(--n-ivory); color: var(--n-bg); }

h1, h2, h3, h4 { font-weight: 300; letter-spacing: -0.01em; }
strong, b { font-weight: 600; }

.eyebrow,
.section--cream .eyebrow,
.section--bone .eyebrow,
.page-intro .eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--n-accent);
}

.section--dark,
.section--cream { background: var(--n-bg); color: var(--n-text); --heading-color: var(--n-text); }
.section--bone { background: var(--n-bg-2); color: var(--n-text); --heading-color: var(--n-text); }

hr { opacity: 1; border-top-color: var(--n-line); }

/* ------------------------------------------------------------------------ */
/* Buttons: ivory and outline. Uppercase, small, tracked.                    */
/* ------------------------------------------------------------------------ */

.btn {
  --btn-bg: var(--n-ivory);
  --btn-fg: var(--n-bg);
  padding: 0.9rem 1.6rem;
  min-height: 3.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.btn:hover { --btn-bg: #fff; }
.btn:active { --btn-bg: #DDD8CE; }
.btn--primary { --btn-bg: var(--n-ivory); --btn-fg: var(--n-bg); }

.btn--dark,
.btn--ghost,
.btn--outline,
.section--dark .btn--outline { --btn-bg: transparent; --btn-fg: var(--n-text); --btn-bd: var(--n-line-2); }
.btn--dark:hover,
.btn--ghost:hover,
.btn--outline:hover,
.section--dark .btn--outline:hover { --btn-bg: var(--n-ivory); --btn-fg: var(--n-bg); --btn-bd: var(--n-ivory); }
.btn--dark:active { --btn-bg: #DDD8CE; }

.btn--sm { padding: 0.55rem 1rem; min-height: 2.5rem; font-size: 0.75rem; }

.link-arrow { border-bottom-width: 1px; font-weight: 600; letter-spacing: 0.04em; }
.link-arrow:hover { color: #fff; }

.badge { background: var(--n-bg-4); color: var(--n-text); }
.badge--outline { color: var(--n-accent); }

/* ------------------------------------------------------------------------ */
/* Header: transparent over the opening photograph, frosted once you scroll */
/* ------------------------------------------------------------------------ */

.site-header {
  background: rgba(12, 12, 13, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--n-line);
  transition: height var(--d-base) var(--ease-out), background-color var(--d-base) var(--ease-out),
              border-color var(--d-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: none; }

.has-hero .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.has-hero main { padding-top: 0; }

.brand__logo { height: 3.5rem; }
.site-header.is-scrolled .brand__logo { height: 2.75rem; }

.nav { gap: 0.25rem; }
.nav__link {
  position: relative;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(237, 234, 228, 0.78);
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current='page'] { background: none; color: #fff; }
/* The one gold line in the header. */
.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0.875rem; right: 0.875rem; bottom: 0.2rem;
  height: 1px;
  background: var(--n-accent);
}

.nav__link--cta {
  margin-left: 0.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(237, 234, 228, 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--n-text);
  transition: background-color var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out);
}
.nav__link--cta:hover,
.nav__link--cta[aria-current='page'] { background: var(--n-ivory); border-color: var(--n-ivory); color: var(--n-bg); }
.nav__link--cta[aria-current='page']::after { display: none; }

.nav-toggle { color: var(--n-text); }
.nav-toggle__bars { width: 1.75rem; height: 1rem; }
.nav-toggle__bars span { height: 1.5px; width: 100% !important; }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { transform: translateY(0.47rem) rotate(45deg); }
[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { transform: translateY(-0.47rem) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav {
    width: 100vw;
    background: var(--n-bg);
    border-left: 0;
    padding: calc(var(--header-h) + var(--s-6)) var(--gutter) var(--s-10);
  }
  .nav__link {
    padding: var(--s-4) 0;
    font-size: clamp(1.375rem, 1.1rem + 1.4vw, 1.75rem);
    font-weight: 300;
    color: var(--n-text);
    border-bottom: 1px solid var(--n-line);
  }
  .nav__link[aria-current='page']::after { left: 0; right: auto; width: 2rem; bottom: 0.6rem; }
  .nav__link--cta {
    order: 99;               /* last in the list, as the closing action */
    margin: var(--s-8) 0 0;
    padding: var(--s-4);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--n-ivory);
    color: var(--n-bg);
    border-color: var(--n-ivory);
  }
  /* The overlay covers the page, so the header over it must stay readable. */
  body:has(.nav.is-open) .site-header { background: var(--n-bg); border-bottom-color: var(--n-line); }
}

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

/* ------------------------------------------------------------------------ */
/* Opening photograph                                                        */
/* ------------------------------------------------------------------------ */

.hero {
  clip-path: none;
  justify-content: flex-start;
  min-height: min(56rem, 100svh);
  background: var(--n-bg);
}
.hero--full { min-height: 100svh; }
.hero--medium { min-height: clamp(24rem, 62svh, 36rem); }

.hero__slide img { animation-duration: 30s; }

/* Heavier at the bottom left, where the words and the search sit. */
.hero__veil {
  background:
    linear-gradient(180deg, rgba(12, 12, 13, 0.35) 0%, rgba(12, 12, 13, 0) 28%),
    linear-gradient(0deg, rgba(12, 12, 13, 0.92) 0%, rgba(12, 12, 13, 0.35) 38%, rgba(12, 12, 13, 0) 65%),
    linear-gradient(90deg, rgba(12, 12, 13, 0.45) 0%, rgba(12, 12, 13, 0) 60%),
    rgba(0, 0, 0, calc(var(--hero-veil, 25) / 100));
}

.hero__inner {
  max-width: var(--container);
  align-items: flex-start;
  text-align: left;
  padding: calc(var(--header-h) + var(--s-10)) var(--gutter) clamp(2.5rem, 6vw, 4.5rem);
}

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--n-accent);
  margin-bottom: var(--s-5);
}

.hero__title {
  font-size: clamp(2.375rem, 1.5rem + 3.9vw, 4.75rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 15ch;
  text-shadow: none;
  color: #fff;
}

.hero__body { font-size: var(--t-md); color: rgba(237, 234, 228, 0.82); text-shadow: none; max-width: 36rem; margin-top: var(--s-5); }
.hero__actions { justify-content: flex-start; margin-top: var(--s-8); }

.hero__scroll { margin-top: var(--s-8); color: rgba(237, 234, 228, 0.7); animation-duration: 3s; }
.hero__scroll svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.5; }
.hero__scroll:hover { color: #fff; }

.hero__more { align-items: flex-start; letter-spacing: 0.2em; font-size: 0.6875rem; margin-top: var(--s-5); }
.hero__more svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.hero__more:hover, .hero__more:hover svg { color: #fff; }

/* Date search over the photograph */
.hero-search {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  width: 100%;
  max-width: 56rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: rgba(12, 12, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.hero-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 0;
}
.hero-search__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--n-muted);
}
.hero-search__input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: var(--t-base);
  appearance: none;
  min-height: 1.75rem;
  cursor: pointer;
}
.hero-search__input:focus { outline: none; }
.hero-search__field:focus-within { background: rgba(255, 255, 255, 0.06); }
.hero-search__input option { background: var(--n-bg-3); color: var(--n-text); }
/* color-scheme: dark already draws the picker icon light; inverting it again
   would turn it black. */
.hero-search__input::-webkit-calendar-picker-indicator { filter: none; opacity: 0.85; cursor: pointer; }
.hero-search__submit { min-height: 100%; padding-inline: 1.75rem; }

/* Two rows on narrower screens: the dates side by side, then guests and the
   button. nth-of-type, because the hidden CSRF input is a child too. */
@media (max-width: 899px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search__field:nth-of-type(2) { border-right: 0; }
  .hero-search__field:nth-of-type(3) { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hero-search__submit { min-height: 3.25rem; padding-inline: 1rem; }
}

@media (max-width: 599px) {
  .hero { min-height: 100svh; }
  .hero__title { font-size: clamp(2.25rem, 1.6rem + 3vw, 2.75rem); }
  .hero__inner { padding-bottom: calc(var(--s-6) + 4.5rem); } /* clear the action bar */
  .hero-search__field { padding: 0.7rem 1rem; }
}

/* ------------------------------------------------------------------------ */
/* Sections: straight edges, no slants                                       */
/* ------------------------------------------------------------------------ */

.band { padding-block: calc(var(--section-y) * 0.75); }
.band--light,
.band--dark {
  background: var(--n-bg);
  color: var(--n-text);
  --heading-color: var(--n-text);
  clip-path: none;
  margin-block: 0;
  padding-block: calc(var(--section-y) * 0.75);
}

.page-intro { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-intro__title { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); font-weight: 300; }
.page-intro__body { color: var(--n-muted); }

.page-head { padding-block: calc(var(--s-12) + 1rem) var(--s-10); }
.page-head__crumbs { color: var(--n-faint); letter-spacing: 0.08em; }
.page-head__crumbs a:hover { color: var(--n-text); }
.page-head__title { color: var(--n-text); font-weight: 300; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); letter-spacing: -0.02em; }
.page-head__sub { font-weight: 400; color: var(--n-muted); }

.page-banner { min-height: 16rem; }
.page-banner::after { background: linear-gradient(0deg, rgba(12, 12, 13, 0.85), rgba(12, 12, 13, 0.35)); }
.page-banner__title { font-weight: 300; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); }

/* ------------------------------------------------------------------------ */
/* Suite strip ("Camere") and suite cards                                    */
/* ------------------------------------------------------------------------ */

.rail-section__inner { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.rail-section__head { border-right: 0; padding-right: 0; }
.rail-section__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); text-transform: none; font-weight: 300; line-height: 1.05; }
.rail-section__body { color: var(--n-muted); }
.rail__track { grid-auto-columns: calc((100% - 2 * var(--s-4)) / 3); }
.rail__item { aspect-ratio: 4 / 5; }
.rail__nav { justify-content: flex-start; }
.rail__btn { border-color: var(--n-line-2); color: var(--n-text); border-radius: var(--r-full); }
.rail__btn:hover { background: var(--n-ivory); border-color: var(--n-ivory); color: var(--n-bg); }
.rail__btn:disabled { border-color: var(--n-line); background: none; }

@media (max-width: 899px) {
  .rail-section__inner { grid-template-columns: 1fr; }
  .rail__track { grid-auto-columns: 72%; }
}

.suite-card { background: var(--n-bg-3); }
.suite-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 12, 13, 0.85) 0%, rgba(12, 12, 13, 0) 55%);
  z-index: 0;
}
.suite-card__label {
  top: auto; left: 0; right: 0; bottom: 0;
  z-index: 1;
  max-width: none;
  padding: var(--s-6) var(--s-5) var(--s-5);
  background: none;
}
.suite-card__name { font-size: var(--t-lg); font-weight: 300; letter-spacing: -0.005em; }
.suite-card__price { margin-top: 0.2rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--n-muted); }
.suite-card__price strong { font-size: 0.875rem; font-weight: 600; color: var(--n-text); letter-spacing: 0.04em; }
.suite-card:hover .suite-card__img { transform: scale(1.04); }

/* ------------------------------------------------------------------------ */
/* Suite rows: editorial, image and text alternating sides                   */
/* ------------------------------------------------------------------------ */

.suite-rows { border-top: 1px solid var(--n-line); }
.suite-row + .suite-row { border-top: 1px solid var(--n-line); }

.suite-row__inner {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--s-8) clamp(2.5rem, 6vw, 6rem);
  max-width: var(--container);
}
.suite-row:nth-child(even) .suite-row__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.suite-row:nth-child(even) .suite-row__media { order: 2; }

.suite-row__media { box-shadow: none; }
.suite-row__media img { aspect-ratio: 4 / 3; }

.suite-row__index {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--n-accent);
  margin-bottom: var(--s-4);
}
.suite-row__name { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); line-height: 1.05; margin-bottom: var(--s-3); }
.suite-row__amenities {
  display: block;
  margin-bottom: var(--s-5);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--n-muted);
}
.suite-row__text { color: var(--n-muted); line-height: 1.7; }
.suite-row__text strong { color: var(--n-text); font-weight: 400; }
.suite-row__price {
  display: block;
  margin-top: var(--s-6);
  font-size: var(--t-sm);
  color: var(--n-muted);
}
.suite-row__price strong { font-size: var(--t-lg); font-weight: 400; color: var(--n-text); }
.suite-row__btn { margin: var(--s-6) 0 0; }

@media (max-width: 767px) {
  .suite-row__inner,
  .suite-row:nth-child(even) .suite-row__inner { grid-template-columns: 1fr; }
  .suite-row:nth-child(even) .suite-row__media { order: 0; }
}

/* ------------------------------------------------------------------------ */
/* Services, packages, features, included                                    */
/* ------------------------------------------------------------------------ */

.tile { aspect-ratio: 4 / 5; background: var(--n-bg-3); }
.tile__img { opacity: 0.9; }
.tile::after { background: linear-gradient(0deg, rgba(12, 12, 13, 0.85) 0%, rgba(12, 12, 13, 0) 50%); }
.tile__name { top: auto; bottom: var(--s-5); font-size: var(--t-lg); font-weight: 300; }
@media (max-width: 767px) { .tile { aspect-ratio: 16 / 11; } }

.service-card,
.package-card,
.section--dark .package-card,
.section--dark .service-card { background: var(--n-bg-2); border: 1px solid var(--n-line); color: var(--n-text); --heading-color: var(--n-text); }
.service-card__icon { background: var(--n-bg-3); color: var(--n-muted); }
.service-card__name,
.package-card__name { font-weight: 300; font-size: var(--t-xl); }
.service-card__price,
.section--dark .service-card__price,
.package-card__price-value,
.section--dark .package-card__price-value { color: var(--n-text); font-weight: 400; }

.feature__icon,
.included__time svg,
.included__list svg,
.bullet-list__item svg,
.contact-list__item svg,
.map-embed__icon { color: var(--n-muted); }
.feature + .feature::before { background: var(--n-line); }
.features .feature { border-color: var(--n-line) !important; }

.included { background: var(--n-bg-2); border-top: 1px solid var(--n-line); }
.included__times { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--n-muted); }
.included__times strong { font-weight: 600; color: var(--n-text); }
.included__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 300; text-transform: none; }
.included__list { justify-content: center; gap: var(--s-4) var(--s-10); }
.included__list strong { font-weight: 400; }

.stat__value,
.section--cream .stat__value { color: var(--n-text); font-weight: 300; }

.cta-band--gold { background: var(--n-bg-2); color: var(--n-text); --heading-color: var(--n-text); border-block: 1px solid var(--n-line); }
.cta-band--light { background: var(--n-bg); color: var(--n-text); --heading-color: var(--n-text); border-top-color: var(--n-line); }
.cta-band__title { font-weight: 300; font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem); }

.review-card { background: var(--n-bg-2); border-color: var(--n-line); border-radius: 0; }
.review-card:hover { border-color: var(--n-line-2); background: var(--n-bg-3); }
.review-card__body { font-size: var(--t-base); font-weight: 300; line-height: 1.6; }
.reviews-summary { background: var(--n-bg-2); border-color: var(--n-line-2); border-radius: 0; }
.rail-nav__btn { border-color: var(--n-line-2); }
.rail-nav__btn:hover { background: var(--n-ivory); border-color: var(--n-ivory); color: var(--n-bg); }

.faq__item { border-bottom-color: var(--n-line); }
.faq__q { font-weight: 300; font-size: var(--t-lg); }
.faq__q:hover,
.section--dark .faq__q:hover { color: #fff; }
.faq__q svg { color: var(--n-muted); }

.gallery-rail { scrollbar-color: var(--n-faint) transparent; }
.gallery-rail::-webkit-scrollbar-thumb { background: var(--n-faint); }

.contact-block__panel { background: var(--n-bg-2); }
.contact-block__title { font-weight: 300; }
.contact-list__item { color: var(--n-text); }
a.contact-list__item:hover { color: #fff; }
.map-embed { background: var(--n-bg-3); }
.map-embed.is-loaded { background: var(--n-bg-3); }

/* ------------------------------------------------------------------------ */
/* Suite page, day use, contact, booking                                     */
/* ------------------------------------------------------------------------ */

.suite-panel { background: var(--n-bg-2); border: 1px solid var(--n-line); }
.suite-panel__name { font-weight: 300; font-size: var(--t-2xl); }
.suite-panel__rule { border-top: 1px solid var(--n-accent); }
.suite-panel__price strong { font-weight: 400; }
.suite-gallery__thumb[aria-current='true'] { box-shadow: 0 0 0 1px var(--n-text); }

.dayuse { background: var(--n-bg-2); border: 1px solid var(--n-line); box-shadow: none; }
.dayuse__info { background: var(--n-bg-3); }
.dayuse__price { background: none; color: var(--n-text); border: 1px solid var(--n-line-2); font-weight: 600; }
.dayuse__duration svg,
.dayuse__hours svg { color: var(--n-muted); }
.dayuse__name,
.dayuse__step { color: var(--n-text); font-weight: 300; }
.dayuse__back { background: var(--n-bg-4); color: var(--n-text); }
.dayuse__back:hover { background: var(--n-ivory); color: var(--n-bg); }

.cal-month { border-color: var(--n-line); }
.cal-month__nav { color: var(--n-text); }
a.cal-month__nav:hover { color: #fff; }
.cal-month__day.is-free { background: var(--n-bg-4); color: var(--n-text); font-weight: 600; }
.cal-month__day.is-free:hover { background: var(--n-ivory); color: var(--n-bg); }

.slot { background: var(--n-bg-3); color: var(--n-text); border: 1px solid var(--n-line); }
a.slot:hover { background: var(--n-ivory); color: var(--n-bg); border-color: var(--n-ivory); }
.slot.is-off { background: transparent; color: var(--n-faint); }

.booking-card__title,
.booking-search__title,
.contact-form__title { color: var(--n-text); font-weight: 300; }
.booking-search .rule { color: var(--n-accent); height: 1px; }
.booking-search__form .field__label { color: var(--n-muted); }
.booking-search__form .input,
.booking-search__form .select { background-color: var(--n-bg-3); border-color: var(--n-line-2); }

/* The action that moves a booking forward is always the ivory one. */
.booking-search__submit,
.contact-form .btn[type='submit'] { --btn-bg: var(--n-ivory); --btn-fg: var(--n-bg); --btn-bd: transparent; }
.booking-search__submit:hover,
.contact-form .btn[type='submit']:hover { --btn-bg: #fff; --btn-fg: var(--n-bg); }
.booking-search__empty { background: var(--n-bg-2); color: var(--n-text); font-weight: 300; }

.result-card__media { background: var(--n-bg-3); }

.contact-info__list a:hover { color: #fff; }

/* ------------------------------------------------------------------------ */
/* Forms on dark                                                             */
/* ------------------------------------------------------------------------ */

.field__label,
.section--dark .field__label,
.on-dark .field__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n-muted);
}

.input, .select, .textarea,
.on-dark .input, .on-dark .select, .on-dark .textarea {
  background-color: var(--n-bg-3);
  border-color: var(--n-line-2);
  color: var(--n-text);
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.32); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--n-text);
  box-shadow: 0 0 0 3px rgba(237, 234, 228, 0.12);
}
.select,
.on-dark .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B8B3AA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
}
.select option { background: var(--n-bg-3); color: var(--n-text); }
input[type='date']::-webkit-calendar-picker-indicator,
.on-dark input[type='date']::-webkit-calendar-picker-indicator { filter: none; opacity: 0.85; cursor: pointer; }

.check input[type='checkbox'],
.check input[type='radio'],
.on-dark .check input { background: var(--n-bg-3); border-color: rgba(255, 255, 255, 0.28); }
.check input:checked { background: var(--n-ivory); border-color: var(--n-ivory); }
.check input[type='checkbox']:checked::after { border-color: var(--n-bg); }
.check input[type='radio']:checked::after { background: var(--n-bg); }
.check a { color: var(--n-text); }

.switch input:checked + .switch__track { background: var(--n-ivory); }
.switch input:checked + .switch__track::after { background: var(--n-bg); }

.choice { background: var(--n-bg-3); border-color: var(--n-line-2); }
.choice:hover { border-color: rgba(255, 255, 255, 0.36); }
.choice:has(input:checked) { border-color: var(--n-text); background: var(--n-bg-4); box-shadow: 0 0 0 1px var(--n-text); }
.choice__icon { color: var(--n-muted); }
.choice__check { color: var(--n-text); }

.booking-card { background: var(--n-bg-2); border-color: var(--n-line); box-shadow: none; }
.booking-bar,
.booking-bar--dark,
.booking-bar--gold { background: var(--n-bg-2); border-color: var(--n-line); box-shadow: none; backdrop-filter: none; }

.summary__divider { background: var(--n-line); }

/* The date-range calendar on a suite page */
.cal__nav-btn { border-color: var(--n-line-2); color: var(--n-text); }
.cal__day { color: var(--n-text); }
.cal__day--busy { color: var(--n-faint); }
.cal__day--end { background: var(--n-ivory); color: var(--n-bg); }
.cal__day--between { background: rgba(237, 234, 228, 0.12); }
.cal__legend-swatch--free { background: var(--n-bg-3); }
.cal__legend-swatch--busy { background: repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.18) 2px, rgba(255, 255, 255, 0.18) 4px); }
.cal__legend-swatch--sel { background: var(--n-ivory); border-color: var(--n-ivory); }

.empty__title { color: var(--n-text); font-weight: 300; }
.empty__icon { color: var(--n-faint); }

/* Status messages keep their colour, dimmed to sit on black. */
.alert--success { background: rgba(63, 156, 106, 0.14); color: #9FD8B8; }
.alert--error   { background: rgba(192, 72, 63, 0.16);  color: #F0AAA3; }
.alert--warning { background: rgba(201, 138, 46, 0.16); color: #EFC98C; }
.alert--info    { background: rgba(59, 110, 150, 0.18); color: #A9CBE6; }

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

.site-footer {
  background: #080809;
  border-top: 1px solid var(--n-line);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) var(--s-8);
  color: var(--n-muted);
}
.footer__brand,
.footer__about { border-right-color: var(--n-line); }
.footer__brand img { height: 3.75rem; }
.footer__about { color: var(--n-muted); line-height: 1.6; }
.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--n-faint);
  margin-bottom: var(--s-3);
}
.footer__link { color: var(--n-text); }
.footer__link:hover { color: #fff; }
.footer__company { color: var(--n-muted); line-height: 1.6; }
.footer__company-name { color: var(--n-text); }
.footer__pay img { opacity: 0.8; filter: grayscale(0.4); transition: opacity var(--d-base) var(--ease-out), filter var(--d-base) var(--ease-out); }
.footer__pay:hover img { opacity: 1; filter: none; }
.footer__copy { border-top: 1px solid var(--n-line); padding-top: var(--s-6); color: var(--n-faint); }

/* ------------------------------------------------------------------------ */
/* Floating actions and the phone action bar                                 */
/* ------------------------------------------------------------------------ */

.to-top { background: rgba(24, 24, 27, 0.9); border-color: var(--n-line-2); color: var(--n-text); }
.to-top:hover { background: var(--n-ivory); color: var(--n-bg); }

@media (max-width: 767px) {
  .action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom));
    background: rgba(12, 12, 13, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--n-line);
  }
  .action-bar__wa {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 0 var(--s-4);
    border: 1px solid var(--n-line-2);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--n-text);
  }
  .action-bar__wa svg { width: 1.125rem; height: 1.125rem; color: #25D366; }
  .action-bar__book { min-height: 3rem; }
  .action-bar__book:only-child { grid-column: 1 / -1; }

  /* The bar replaces the round WhatsApp button and sits under everything else. */
  body:has(.action-bar) .wa-float { display: none; }
  body:has(.action-bar) .to-top { bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  body:has(.action-bar) .site-footer { padding-bottom: calc(var(--s-8) + 4.25rem); }
  body:has(.action-bar) .consent { bottom: calc(4.5rem + env(safe-area-inset-bottom)); max-height: calc(100svh - 6rem); }
}

.consent { background: rgba(18, 18, 20, 0.98); border-color: var(--n-line-2); }
.consent .btn--outline { --btn-fg: var(--n-text); --btn-bd: var(--n-line-2); }
.consent .btn--outline:hover { --btn-bg: var(--n-ivory); --btn-fg: var(--n-bg); --btn-bd: var(--n-ivory); }

/* ------------------------------------------------------------------------ */
/* Booking pages: headings, totals and the date-range calendar               */
/* ------------------------------------------------------------------------ */

:root { --price-ink: var(--n-text); --price-accent: var(--n-text); }

.display,
.title { font-weight: 300; letter-spacing: -0.015em; }
.lede { color: var(--n-muted); }

.summary__total dd { color: var(--n-text); font-weight: 300; font-size: var(--t-2xl); }

.cal__nav-btn:hover:not(:disabled) { border-color: var(--n-text); background: rgba(255, 255, 255, 0.06); }
.cal__day--free:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--n-line-2); }
.cal__day--busy {
  background: repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(255, 255, 255, 0.06) 3px, rgba(255, 255, 255, 0.06) 6px);
}
.cal__day--start,
.cal__day--end { background: var(--n-ivory); color: var(--n-bg); }
.cal__day--start .cal__day-price,
.cal__day--end .cal__day-price { color: rgba(12, 12, 13, 0.65); }
.cal__day--between { background: rgba(237, 234, 228, 0.1); }

.input--line:hover { border-bottom-color: var(--n-text); }
.input--line:focus { box-shadow: 0 1px 0 0 var(--n-text); border-bottom-color: var(--n-text); }

/* Required-field asterisk: the status red is too dark on black. */
.field__label .req { color: #F0877D; }
:root { --crumb-sep: .75; }

/* WhatsApp: the brand green on the glyph, not as a bright disc on black. */
.wa-float {
  background: var(--n-bg-3);
  border: 1px solid var(--n-line-2);
  color: #25D366;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.wa-float:hover { background: var(--n-bg-4); }

/* Formatted text and legal pages */
.prose { color: var(--n-muted); }
.prose h1, .prose h2, .prose h3, .prose strong { color: var(--n-text); }
.prose h1 { font-weight: 300; letter-spacing: -0.02em; }
.prose h2, .prose h3 { font-weight: 400; }
.prose li::marker { color: var(--n-faint); }
.prose a, .legal__consent { color: var(--n-text); }
.prose a:hover { color: #fff; }
.prose code { background: var(--n-bg-3); color: var(--n-text); }
.legal__table th, .legal__table td { border-bottom-color: var(--n-line); }
.legal__table td { color: var(--n-muted); }

/* On black the bright WhatsApp green reads well; on white it does not. */
.contact-info__list li:nth-child(2) svg { color: #25D366; }
