/* =========================================================
   LùBar — Site chrome
   Page header (overlaid on hero), mobile menu overlay,
   site footer, prenota modal, sticky CTA button.
   ========================================================= */

/* ---------- Page header (overlaid on every page hero) --------- */
.page-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: calc(var(--safe-top) - 30px) var(--gutter-edge) 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-2);
  color: #fff;
}
.page-header__top-vignette {
  position: absolute;
  inset: 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.icon-btn {
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.icon-btn--menu  { justify-self: start; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.icon-btn--whatsapp { justify-self: end; justify-content: flex-end; text-decoration: none; }
/* Brand link sizes to the wordmark (override .icon-btn's 40×40 box). */
.icon-btn--brand { justify-self: center; width: auto; height: auto; }

.hamburger-line {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform var(--t-fast) var(--ease);
}
.hamburger-line:nth-child(1) { width: 22px; }
.hamburger-line:nth-child(2) { width: 22px; }
.hamburger-line:nth-child(3) { width: 14px; }

.brand-logo { height: auto; }
.brand-logo--79 { width: 79px; }   /* per design spec @ 390 viewport */
.brand-logo--64 { width: 64px; }   /* per design spec, footer */

/* ---------- Mobile menu overlay ------------------------------- */
.menu-overlay {
  /* `fixed` pins to viewport on mobile; on desktop the .app has
     `transform`, which re-roots `position: fixed` to .app, so the
     menu fills the phone frame without extra rules. */
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.menu-overlay.is-open { pointer-events: auto; }

.menu-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(28, 31, 26, 0.4);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.menu-overlay.is-open .menu-overlay__scrim { opacity: 1; }

.menu-overlay__panel {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--moss);
  color: #fff;
  transform: translateY(-100%);
  transition: transform var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.menu-overlay.is-open .menu-overlay__panel { transform: translateY(0); }

.menu-overlay__panel::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 90% -10%, rgba(184,85,59,0.18), transparent 55%),
    radial-gradient(circle at -10% 110%, rgba(232,200,184,0.10), transparent 60%);
}
.menu-overlay__panel::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.menu-overlay__header {
  position: relative;
  z-index: 2;
  padding: 60px var(--gutter-edge) 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-2);
}
.menu-overlay__close {
  justify-self: start;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-overlay__status {
  position: relative;
  z-index: 2;
  margin: 0 var(--gutter-body);
  padding: 8px 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.menu-overlay__live {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-overlay__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta-soft);
  box-shadow: 0 0 8px rgba(217, 123, 94, 0.7);
  animation: lbPulse 2s ease infinite;
  flex-shrink: 0;
}
.menu-overlay__lang {
  display: flex; align-items: center; gap: 4px;
}
.menu-overlay__lang button {
  background: transparent;
  border: 0;
  padding: 2px 6px;
  font: inherit;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease);
}
.menu-overlay__lang button.is-active {
  color: #fff;
  border-bottom-color: #fff;
}
.menu-overlay__lang span { opacity: 0.3; }

.menu-overlay__list {
  position: relative;
  z-index: 2;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.menu-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.menu-overlay.is-open .menu-row {
  animation: lbFadeIn 0.6s ease both;
}
/* staggered reveal */
.menu-overlay.is-open .menu-row:nth-child(1) { animation-delay: 0.10s; }
.menu-overlay.is-open .menu-row:nth-child(2) { animation-delay: 0.16s; }
.menu-overlay.is-open .menu-row:nth-child(3) { animation-delay: 0.22s; }
.menu-overlay.is-open .menu-row:nth-child(4) { animation-delay: 0.28s; }
.menu-overlay.is-open .menu-row:nth-child(5) { animation-delay: 0.34s; }
.menu-overlay.is-open .menu-row:nth-child(6) { animation-delay: 0.40s; }
.menu-overlay.is-open .menu-row:nth-child(7) { animation-delay: 0.46s; }

.menu-row__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 20px var(--gutter-body);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  color: inherit;
  gap: 16px;
}
.menu-row__copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.menu-row__label {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: var(--ls-headline);
  color: #fff;
  word-break: break-word;
}
.menu-row__tag {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}
.menu-row__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.35s var(--ease-out);
}
.menu-row__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}
.menu-row.is-expanded .menu-row__chevron { transform: rotate(45deg); }

.menu-row__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.menu-row.is-expanded .menu-row__sub { max-height: 320px; }
.menu-row__sub-inner {
  padding: 4px var(--gutter-body) 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transition: opacity var(--t-med) ease;
}
.menu-row.is-expanded .menu-row__sub-inner {
  opacity: 1;
  transition-delay: 0.15s;
}
.menu-row__sub-link {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color var(--t-fast) var(--ease);
  text-decoration: none;
}
.menu-row__sub-link::before {
  content: '';
  width: 18px; height: 1px;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.menu-row__sub-link:hover { color: #fff; }

.menu-overlay__foot {
  padding: 32px var(--gutter-body) 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.menu-overlay__intro {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.25;
}
.menu-overlay__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 300;
}
.menu-overlay__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blush);
  text-decoration: none;
  font-size: 9.5px;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 10px 5px 8px;
  border: 1px solid rgba(233, 200, 184, 0.45);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.menu-overlay__contact a:hover {
  background: var(--blush);
  color: var(--moss);
}
.menu-overlay__socials {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.menu-overlay__socials a {
  color: inherit;
  text-decoration: none;
}

body.menu-open { overflow: hidden; }

/* ---------- Site footer (every page) -------------------------- */
.site-footer {
  background: #463639;
  color: var(--paper);
  padding: 64px var(--gutter-body) 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.site-footer__logo { margin-bottom: 40px; width: 64px; height: auto; }

.locations-tabs__title {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
  margin-bottom: 18px;
  display: block;
}
.locations-tabs__tabs {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;     /* keep tabs on a single line */
  margin-bottom: 22px;
}
.locations-tabs__tab {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;       /* sized so all three labels fit on one line */
  line-height: 1;
  color: rgba(245, 242, 236, 0.4);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.locations-tabs__tab.is-active {
  color: var(--paper);
  font-style: italic;
}
.locations-tabs__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Honour the `hidden` attribute on inactive panels — by default the
   `display: flex` rule above would override it. */
.locations-tabs__panel[hidden] { display: none; }
.locations-tabs__address {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.95);
}
.locations-tabs__line {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(245, 242, 236, 0.88);
}

.site-footer__divider {
  height: 1px;
  background: rgba(245, 242, 236, 0.1);
  margin: 36px 0;
  border: 0;
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.45);
  display: block;
}
.site-footer__col p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(245, 242, 236, 0.88);
}
.site-footer__col p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__social-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.site-footer__social-row a {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-footer__legal {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 242, 236, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.site-footer__legal-links a {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  text-decoration: none;
}
.site-footer__copy {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.35);
  line-height: 1.9;
}

/* ---------- Sticky Prenota button ---------------------------- */
.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 30;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease-in), transform var(--t-fast) var(--ease-in);
  pointer-events: none;
  box-shadow: 0 8px 24px -8px rgba(28, 31, 26, 0.35);
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 540px) and (max-width: 719px) {
  /* Tablet width before phone-frame kicks in: glue CTA to the column edge */
  .sticky-cta {
    position: fixed;
    right: max(18px, calc(50vw - var(--device-max) / 2 + 18px));
  }
}
@media (min-width: 720px) {
  /* Inside the phone frame, .app is the scroll container. Use position:
     sticky so the CTA pins to the bottom of .app's viewport (not the
     desktop viewport). `display: inline-flex` preserves the icon+label
     layout from the base .btn class; the auto-margin pushes it right. */
  .sticky-cta {
    position: sticky;
    bottom: 28px;
    right: auto;
    display: inline-flex;
    width: max-content;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 18px;
    margin-bottom: 16px;
  }
}

/* ---------- Prenota modal (bottom sheet) --------------------- */
.prenota-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.prenota-modal.is-open { pointer-events: auto; }

.prenota-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 9, 0.55);
  opacity: 0;
  transition: opacity var(--t-med) ease;
}
.prenota-modal.is-open .prenota-modal__scrim { opacity: 1; }

.prenota-modal__sheet {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: var(--device-max);
  transform: translate(-50%, 100%);
  transition: transform 360ms cubic-bezier(.22,.8,.36,1);
  /* White background to match the SevenRooms widget; sheet caps at
     92dvh and scrolls internally so the booking widget stays visible
     and the rooms strip below can be reached by scrolling within the
     sheet. */
  background: #ffffff;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 14px var(--gutter-body) 0;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}
@media (min-width: 720px) {
  /* Clamp the sheet to the phone width so it visibly belongs to the device */
  .prenota-modal__sheet { max-width: var(--device-width); }
}
.prenota-modal.is-open .prenota-modal__sheet { transform: translate(-50%, 0); }

.prenota-modal__handle {
  width: 40px; height: 4px;
  border-radius: 2px;
  background: rgba(28, 31, 26, 0.18);
  margin: 0 auto 18px;
}

.prenota-modal__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  flex: 0 0 auto;
}

/* SevenRooms widget — fixed height tall enough for the calendar/time
   picker to render comfortably; edge-to-edge horizontally so it owns
   the full sheet width. */
.prenota-modal__iframe {
  display: block;
  width: calc(100% + 2 * var(--gutter-body));
  margin: 0 calc(-1 * var(--gutter-body));
  height: 580px;
  border: 0;
  background: #ffffff;
}

/* "Le cinque stanze" block below the booking widget — sits inside
   the sheet so users can browse rooms while booking. */
.prenota-modal__rooms {
  padding: 28px 0 38px;
  border-top: 1px solid rgba(28, 31, 26, 0.08);
  margin-top: 16px;
  background: var(--paper-warm);
  /* Break out of the sheet's side padding so the strip can scroll
     edge-to-edge like on the Ristorante page. */
  width: calc(100% + 2 * var(--gutter-body));
  margin-left: calc(-1 * var(--gutter-body));
  margin-right: calc(-1 * var(--gutter-body));
  padding-left: var(--gutter-body);
  padding-right: var(--gutter-body);
}
.prenota-modal__rooms-eye {
  display: block;
  margin-bottom: 8px;
}
.prenota-modal__rooms-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: var(--ls-headline);
  color: var(--ink);
}
.prenota-modal__rooms-title em { font-style: italic; }
.prenota-modal__rooms-sub {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(28, 31, 26, 0.7);
}

/* Form-style modal (e.g. Officine "Richiedi lo spazio"): undo the
   sheet's flex/full-height layout — content sizes naturally, sheet
   caps at 92dvh and scrolls its own overflow. */
.off-enquiry-modal .prenota-modal__sheet {
  display: block;
  height: auto;
  max-height: 92dvh;
  overflow-y: auto;
  padding: 14px var(--gutter-body) 38px;
}

/* ============================================================
   Le cinque stanze — horizontal cards strip
   Used in the Ristorante page AND inside the Prenota modal
   (so the rooms sit just below the SevenRooms widget).
   ============================================================ */
.stanze-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--gutter-body));
  padding: 0 var(--gutter-body) 8px;
  -webkit-overflow-scrolling: touch;
}
.stanza-card {
  flex-shrink: 0;
  width: 220px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--paper-warm);
}
.stanza-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 14px;
  background: var(--paper-warm);
}
.stanza-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.stanza-card__label {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  background: var(--swatch, var(--blush));
  color: var(--label-ink, var(--ink));
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.stanza-card__caption {
  padding: 18px 18px 22px;
  flex: 1;
}
.stanza-card__caption p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(28, 31, 26, 0.78);
}
.prenota-modal__top span {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(28, 31, 26, 0.55);
}
.prenota-modal__close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  color: rgba(28, 31, 26, 0.5);
  padding: 0;
  line-height: 1;
}

.prenota-modal__title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.prenota-modal__title em {
  font-style: italic;
  color: var(--terracotta);
}

/* ---------- Prenota form (shared with in-page Prenota) ------- */
.form-grid {
  display: grid;
  gap: 22px;
  margin-top: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-row--2-3 { grid-template-columns: 1fr 1.5fr; }

.form-field { display: block; }
.form-field__label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(28, 31, 26, 0.55);
  margin-bottom: 2px;
  display: block;
}

.form-input,
.form-select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(28, 31, 26, 0.25);
  padding: 14px 0 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.form-select { appearance: none; -webkit-appearance: none; }
.form-input:focus,
.form-select:focus {
  border-bottom-color: var(--moss);
}

.form-stepper {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(28, 31, 26, 0.25);
}
.form-stepper__btn {
  width: 28px; height: 28px;
  border: 1px solid rgba(28, 31, 26, 0.3);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-stepper__value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.form-or {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(28, 31, 26, 0.55);
  text-align: center;
  line-height: 1.5;
}
.form-or a { color: var(--ink); }

.form-success {
  padding: 24px 0;
}
.form-success__eyebrow {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 12px;
}
.form-success__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}
.form-success__sub {
  margin: 0;
  max-width: 360px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(28, 31, 26, 0.7);
}

/* ============================================================
   Sticky Prenota CTA — shared across pages
   The button sits at the very bottom of .app's flow, so
   `position: sticky` activates from scroll-0 and keeps it pinned
   to the viewport bottom for the whole page scroll.
   Class kept as `.home__prenota` for historical reasons; reused
   on ristorante / officine / etc.
   ============================================================ */
.home__prenota {
  position: sticky;
  bottom: 44px;
  /* Override .btn's `inline-flex` so margin-left:auto pushes it right
     (auto margins only work on block-level boxes). Keep icon+label
     layout via align-items + gap. */
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: max-content;
  margin-left: auto;
  margin-right: var(--gutter-edge);
  /* Pull the natural-flow position back over the footer so the button
     visually pins inside the device, not below it. */
  margin-top: -64px;
  z-index: 5;
  /* Inherit the time-of-day accent from `--phase-accent` (set by
     phase.js / home.js). Falls back to gold if unset. */
  background: var(--phase-accent, var(--gold));
  color: #fff;
  /* Soft drop shadow for a floaty feel — tight close shadow for
     definition + a wider diffuse shadow for depth. */
  box-shadow:
    0 6px 14px -4px rgba(28, 31, 26, 0.32),
    0 18px 32px -8px rgba(28, 31, 26, 0.22);
}
/* Dinner phase has a light blush accent; flip text colour to ink so
   the label stays readable. */
:root[data-phase="dinner"] .home__prenota { color: var(--ink); }

/* ============================================================
   Desktop canvas decorations
   Mobile-only is the design intent; on wider screens we frame
   the phone with a brand mark to the left and a short note to
   the right explaining the choice. Hidden on real mobile.
   ============================================================ */
.desktop-aside { display: none; }

@media (min-width: 1100px) {
  .desktop-aside {
    display: block;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;            /* below the phone (which has its own shadow) */
    pointer-events: none;
    color: var(--paper);
    /* Cascade in after the phone has lifted into place. The container
       uses a keyframe that preserves its -50% vertical centring. */
    animation: lbAsideContainerIntro 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 600ms;
  }
  /* Stagger the right-hand text + locations block in after the aside. */
  .desktop-aside--right .desktop-aside__eye,
  .desktop-aside--right .desktop-aside__copy,
  .desktop-aside--right .desktop-aside__locations {
    animation: lbAsideIntro 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .desktop-aside--right .desktop-aside__eye       { animation-delay: 800ms;  }
  .desktop-aside--right .desktop-aside__copy      { animation-delay: 950ms;  }
  .desktop-aside--right .desktop-aside__locations { animation-delay: 1100ms; }

  /* Skip all desktop-aside intro animations after the first page in
     a session — set on <html> by chrome.js via sessionStorage. */
  .no-intro .desktop-aside,
  .no-intro .desktop-aside--right .desktop-aside__eye,
  .no-intro .desktop-aside--right .desktop-aside__copy,
  .no-intro .desktop-aside--right .desktop-aside__locations {
    animation: none;
  }

  /* Locations widget inside the right aside — give it air after the
     copy paragraph and let pointer events through to the tab buttons.
     The aside container is `pointer-events: none`; we re-enable on the
     widget AND its descendants so the tab buttons receive clicks. */
  .desktop-aside--right .desktop-aside__locations,
  .desktop-aside--right .desktop-aside__locations * {
    pointer-events: auto;
  }
  .desktop-aside--right .desktop-aside__locations {
    margin-top: 28px;
  }
  /* The tabs are sized for the wider footer column; tighten them up
     for the narrower aside, and allow wrap if the viewport is small. */
  .desktop-aside__locations .locations-tabs__tabs {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .desktop-aside__locations .locations-tabs__tab {
    font-size: 17px;
  }
  /* Reserve enough space for the tallest panel (Lubarino, 4 lines).
     Without this, switching tabs would re-centre the entire aside
     vertically and visibly shift everything above. */
  .desktop-aside__locations .locations-tabs__panel {
    min-height: 7.5em;
  }
  .desktop-aside--left {
    /* Halfway between the body edge and the phone, capped so it doesn't
       drift too far on huge monitors. */
    left: clamp(48px, 14vw, 240px);
    width: clamp(100px, 11vw, 170px);
    /* Lifted 50px above vertical centre. */
    top: calc(50% - 50px);
  }
  .desktop-aside--right {
    /* Anchor 265px right of the viewport centre — that's 195px (half
       the phone width) plus a 70px gap — so the copy always sits the
       same distance from the phone, regardless of window width.
       Don't let it run off the right edge on narrow desktops. */
    left: calc(50% + 265px);
    right: clamp(24px, 4vw, 80px);
    width: auto;
    max-width: clamp(280px, 26vw, 380px);
  }
  .desktop-aside__logo {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.92;
  }
  /* Language toggle under the logo. Same look as the menu version,
     re-enable pointer events (aside container has them off). */
  .desktop-aside__lang {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    pointer-events: auto;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }
  .desktop-aside__lang button {
    background: transparent;
    border: 0;
    padding: 2px 6px;
    font: inherit;
    color: rgba(245, 242, 236, 0.45);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: color var(--t-fast) var(--ease);
  }
  .desktop-aside__lang button.is-active {
    color: var(--paper);
    border-bottom-color: var(--paper);
  }
  .desktop-aside__lang button:hover { color: var(--paper); }
  .desktop-aside__lang span { opacity: 0.3; }
  /* Scroll indicator — small uppercase label + a vertical hairline
     with a downward-animating segment, sits under the logo. Fades out
     once the user starts scrolling, fades back when they're at the top. */
  .scroll-indicator {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  }
  .is-scrolled .scroll-indicator {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
  }
  .scroll-indicator__label {
    font-family: var(--font-body);
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(245, 242, 236, 0.45);
    /* Center-align so when the label wraps to two lines on narrow
     desktops it stays centred under the logo + bar. */
    text-align: center;
    line-height: 1.6;
  }
  .scroll-indicator__bar {
    position: relative;
    width: 1px;
    height: 36px;
    background: rgba(245, 242, 236, 0.18);
    overflow: hidden;
  }
  .scroll-indicator__bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 14px;
    background: rgba(245, 242, 236, 0.85);
    animation: lbScrollIndicator 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  @keyframes lbScrollIndicator {
    0%   { transform: translateY(-100%); opacity: 0; }
    25%  { opacity: 1; }
    75%  { opacity: 1; }
    100% { transform: translateY(36px); opacity: 0; }
  }
  .desktop-aside__eye {
    display: block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(245, 242, 236, 0.55);
    margin-bottom: 18px;
  }
  .desktop-aside__copy {
    margin: 0 0 18px 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    line-height: 1.35;
    color: rgba(245, 242, 236, 0.92);
  }
  .desktop-aside__caption {
    margin: 0;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.55;
    color: rgba(245, 242, 236, 0.55);
  }
}

/* ============================================================
   Hero carousel dot indicators — shared across pages
   The active dot expands into a pill and fills white over the
   slide duration (default 4s). When the carousel has a video as
   its first slide (Ristorante), the carousel root gets a
   `.has-video-first` class via carousel.js — that bumps the
   first dot to a 12s fill so it matches the video length.
   ============================================================ */
.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-dot {
  width: 6px; height: 6px;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.32);
  transition: width 600ms var(--ease-in);
}
.hero-dot.is-active {
  width: 28px;
  background: rgba(255, 255, 255, 0.32);
}
.hero-dot.is-active::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: #fff;
  animation: lbHeroFill 4000ms linear forwards;
}
.has-video-first .hero-dot:first-child.is-active::after {
  animation-duration: 12000ms;
}
@keyframes lbHeroFill { from { width: 0%; } to { width: 100%; } }
