﻿/* ==========================================================================
   Value Inn, Bangalore Airport — components.css
   Buttons, hero, cards, section heading, slider, lightbox, forms, CTA band
   ========================================================================== */

/* --- Buttons — single source of truth for size --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  /* Fixed height for visual consistency across every variant */
  height: 50px;
  min-height: 50px;
  padding: 0 1.75rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
  box-sizing: border-box;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Ghost button is a text-link style — keep it inline-text-shaped, not block-button-shaped */
.btn--ghost {
  background: transparent;
  color: var(--color-text);
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  letter-spacing: .15em;
}
.btn--ghost::after {
  content: "→";
  transition: transform var(--transition-fast);
  font-size: 1rem;
  margin-left: .35rem;
}
.btn--ghost:hover { color: var(--color-accent); transform: none; }
.btn--ghost:hover::after { transform: translateX(4px); }

.btn--white {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.btn--white:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* btn--small kept for backward compatibility but now matches the standard height */
.btn--small { padding: 0 1.25rem; font-size: .75rem; }

/* --- Hero --- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero--home { min-height: clamp(560px, 90vh, 880px); }
.hero--inner { min-height: clamp(500px, 70vh, 720px); }      /* slightly taller */
.hero--compact { min-height: 460px; }                          /* slightly taller */

/* hero--inner: sub, CTAs and brand marks hidden; eyebrow + H1 are visible.
   hero--compact: all text hidden, H1 preserved as sr-only. */
.hero--inner .hero__sub,
.hero--inner .hero__cta-row,
.hero--inner .brand-mark,
.hero--inner .brand-mark--hero,
.hero--compact .hero__eyebrow,
.hero--compact .hero__sub,
.hero--compact .hero__cta-row,
.hero--compact .brand-mark,
.hero--compact .brand-mark--hero {
  display: none !important;
}
.hero--compact .hero__title {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Suppress the accent underline on the visually-hidden hero title (compact only) */
.hero--compact .hero__title::after { display: none; }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-secondary);
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  display: none;
}

/* Hero image slider — multiple images crossfading behind hero content */
.hero__media-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-secondary);
  overflow: hidden;
}
.hero__media-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Same lighter overlay treatment for the home-page slider */
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.3) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease-in-out;
  z-index: 1;
}
.hero__media-img.is-active { opacity: 1; }

/* ==========================================================================
   BACK-TO-TOP BUTTON (floating, site-wide)
   Sits above the AI Concierge in the bottom-right corner.
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  /* Sits above AI Concierge (60px), Dining FAB (56px) and WhatsApp FAB (56px)
     with ~24px gaps between each: 60 + 24 + 56 + 24 + 56 + 24 = 244px (~280 w/ buffer) */
  bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + 280px);
  width: 46px;
  height: 46px;
  /* z-index 89: behind the dining FAB (91) and its expanded menu pills,
     so the dining options sit in front when the menu is open. */
  border-radius: 50%;
  background: #fff;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease, background 200ms ease, color 200ms ease;
  z-index: 89;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
@media (max-width: 540px) {
  .back-to-top {
    width: 40px; height: 40px;
    bottom: calc(1rem + 210px);
  }
  .back-to-top svg { width: 16px; height: 16px; }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  /* Sits above the Dining FAB (bottom: clamp(7rem, 13vw, 8rem), 56px tall)
     with ~24px gap: clamp(7rem,13vw,8rem) + 56 + 24 = clamp(13rem,~,~) */
  bottom: calc(clamp(7rem, 13vw, 8rem) + 80px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .4);
  text-decoration: none;
  /* z-index 89: behind the dining FAB (91) and its expanded menu pills,
     so the dining options sit in front when the menu is open. */
  z-index: 89;
  transition: transform 250ms cubic-bezier(.4,0,.2,1),
              box-shadow 250ms cubic-bezier(.4,0,.2,1);
  -webkit-tap-highlight-color: transparent;
}
/* Glyph stays white in every state: the global a:hover accent colour would
   otherwise tint it blue via currentColor. */
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(37, 211, 102, .5);
}
.whatsapp-fab:active { transform: translateY(-1px) scale(.97); }
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  transition: transform 300ms cubic-bezier(.34,1.56,.64,1);
}
.whatsapp-fab:hover svg,
.whatsapp-fab:focus-visible svg { transform: rotate(-10deg) scale(1.1); }
/* Soft ring that radiates out while hovered */
.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
}
.whatsapp-fab:hover::after,
.whatsapp-fab:focus-visible::after { animation: whatsapp-fab-ring 1.4s ease-out infinite; }
@keyframes whatsapp-fab-ring {
  0%   { transform: scale(1);   opacity: .7; }
  /* 1.5 max: keeps the ring inside the 16px right gutter on mobile */
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 540px) {
  .whatsapp-fab {
    width: 50px;
    height: 50px;
    bottom: calc(clamp(7rem, 13vw, 8rem) + 66px);
  }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   AI CONCIERGE CHATBOT (floating, site-wide)
   ========================================================================== */
.ai-concierge {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  font-family: var(--font-sans);
}

/* When the concierge chat is open, hide the other floating FABs so the panel
   doesn't overlap with the WhatsApp / Dining / Back-to-Top buttons. */
body.has-concierge-open .whatsapp-fab,
body.has-concierge-open .dining-fab,
body.has-concierge-open .back-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
}

/* Toggle button */
.ai-concierge__toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 119, 182, .35);
  display: grid;
  place-items: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.ai-concierge__toggle:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(0, 119, 182, .5); }
.ai-concierge__toggle svg { width: 26px; height: 26px; }

/* Pulsing ring around the button */
.ai-concierge__toggle::before,
.ai-concierge__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  pointer-events: none;
  animation: aiPulse 2.4s ease-out infinite;
}
.ai-concierge__toggle::after { animation-delay: 1.2s; }
@keyframes aiPulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.6); opacity: 0; }
}
.ai-concierge.is-open .ai-concierge__toggle::before,
.ai-concierge.is-open .ai-concierge__toggle::after { animation: none; opacity: 0; }
.ai-concierge.is-open .ai-concierge__toggle { transform: rotate(90deg); }

/* Chat panel */
.ai-concierge__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(380px, calc(100vw - 2rem));
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18), 0 4px 12px rgba(0, 0, 0, .06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.97);
  transform-origin: bottom right;
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
}
.ai-concierge.is-open .ai-concierge__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.ai-concierge__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #fff;
}
.ai-concierge__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: grid; place-items: center;
  flex: 0 0 40px;
}
.ai-concierge__avatar svg { width: 22px; height: 22px; }
.ai-concierge__title { flex: 1; min-width: 0; }
.ai-concierge__name {
  font-weight: 500;
  font-size: .9375rem;
  letter-spacing: .02em;
  line-height: 1.2;
}
.ai-concierge__status {
  display: flex; align-items: center; gap: .35rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-top: .15rem;
}
.ai-concierge__status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
  animation: aiOnline 2s infinite;
}
@keyframes aiOnline {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.ai-concierge__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1;
  transition: background var(--transition-fast);
  flex: 0 0 32px;
}
.ai-concierge__close:hover { background: rgba(255,255,255,.3); }

/* Messages area */
.ai-concierge__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  background: #FAFAFA;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  scroll-behavior: smooth;
}
.ai-msg {
  max-width: 82%;
  padding: .65rem .85rem;
  border-radius: 14px;
  font-size: .875rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  animation: aiMsgIn 280ms ease;
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.ai-msg--bot {
  background: #fff;
  color: var(--color-text);
  align-self: flex-start;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}
.ai-msg--user {
  background: var(--color-accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.ai-msg a { color: var(--color-accent); text-decoration: underline; }
.ai-msg--user a { color: #fff; }

/* Typing indicator */
.ai-msg--typing {
  display: inline-flex; gap: 4px;
  padding: 1rem .85rem;
}
.ai-msg--typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: .55;
  animation: aiDot 1.2s infinite;
}
.ai-msg--typing span:nth-child(2) { animation-delay: .2s; }
.ai-msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Quick-reply chips */
.ai-concierge__chips {
  display: flex;
  gap: .4rem;
  padding: .65rem 1rem;
  flex-wrap: wrap;
  background: #FAFAFA;
  border-top: 1px solid var(--color-border);
}
.ai-chip {
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.ai-chip:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* Input */
.ai-concierge__input {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.ai-concierge__input input {
  flex: 1;
  border: 0;
  outline: 0;
  background: #F4F4F4;
  border-radius: 999px;
  padding: .65rem 1rem;
  font-size: .875rem;
  color: var(--color-text);
}
.ai-concierge__input input::placeholder { color: var(--color-text-muted); }
.ai-concierge__send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  flex: 0 0 40px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.ai-concierge__send:hover { background: var(--color-accent-dark); transform: translateX(1px); }
.ai-concierge__send svg { width: 16px; height: 16px; }

@media (max-width: 540px) {
  .ai-concierge__panel { width: calc(100vw - 2rem); height: 70vh; }
  .ai-concierge { right: 1rem; bottom: 1rem; }
  .ai-concierge__toggle { width: 54px; height: 54px; }
}

/* ==========================================================================
   SMART RECOMMENDATIONS — "Curated for You" strip
   ========================================================================== */
.smart-recs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.smart-rec {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-secondary);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}
.smart-rec:hover { transform: translateY(-4px); }
.smart-rec img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1500ms cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.smart-rec:hover img { transform: scale(1.06); }
.smart-rec::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85) 100%);
  z-index: 2;
}
.smart-rec__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92);
  color: var(--color-accent);
  padding: .35rem .75rem;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  z-index: 3;
  display: flex; align-items: center; gap: .35rem;
}
.smart-rec__badge svg { width: 11px; height: 11px; }
.smart-rec__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  z-index: 3;
  color: #fff;
}
.smart-rec__eyebrow {
  display: block;
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  font-weight: 500;
  margin-bottom: .35rem;
}
.smart-rec__title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1.2;
}
.smart-rec__reason {
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  margin-top: .4rem;
  line-height: 1.4;
}
@media (max-width: 880px) {
  .smart-recs { grid-template-columns: 1fr; }
}

/* ===== Breadcrumbs (replaces hero header on summary + inner pages) ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  font-weight: 500;
}
.breadcrumbs a {
  color: rgba(255,255,255,.92);
  transition: color var(--transition-fast);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-accent-light); }
.breadcrumbs__sep {
  color: rgba(255,255,255,.5);
  font-size: .9em;
  font-weight: 300;
}
/* The current page is rendered as <h1> for SEO but styled inline like a breadcrumb segment */
.breadcrumbs__current {
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

/* When breadcrumbs are present in hero, give the hero a slightly tighter, calm look */
.hero--inner .hero__content,
.hero--compact .hero__content {
  padding-bottom: var(--space-lg);
}

/* ===== Booking form widget (sits at the bottom of the hero) ===== */
.booking-form-wrap {
  position: absolute;
  left: 50%;
  bottom: -52px;
  transform: translateX(-50%);
  width: calc(100% - var(--container-pad) * 2);
  max-width: calc(var(--container-max) - var(--container-pad) * 2);
  z-index: 6;
}

.booking-form {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.1fr 1fr auto;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
  overflow: hidden;
}

.booking-form__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--color-border);
  min-width: 0;
}
.booking-form__field:last-child { border-right: 0; }

.booking-form__label {
  font-size: .8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: .02em;
}
.booking-form__value {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
}
.booking-form__value svg {
  width: 18px; height: 18px;
  color: var(--color-accent);
  flex: 0 0 18px;
}
/* base.css sets `svg { display: block }` (author rule), which defeats the UA
   [hidden] rule — restore it so the icon toggle (calendar ↔ clock) can hide. */
.booking-form__value svg[hidden] { display: none; }
.booking-form__input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0;
  cursor: pointer;
}
.booking-form__input::placeholder { color: var(--color-text); }

/* Homepage form only: hide the browser's native date glyphs (calendar/spin/clear).
   The custom left icon + click-anywhere-to-open replace them. */
#bf input[type="date"]::-webkit-calendar-picker-indicator,
#bf input[type="date"]::-webkit-inner-spin-button,
#bf input[type="date"]::-webkit-clear-button { display: none; -webkit-appearance: none; appearance: none; }

/* Right-most cell with price + Book Now button */
.booking-form__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: .75rem 1rem .75rem 1.25rem;
  background: var(--color-bg-soft);
  border-right: 0;
}
.booking-form__price {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  white-space: nowrap;
}
.booking-form__price-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-text-muted);
}
.booking-form__price-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}
.booking-form__manage {
  font-size: .8125rem;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: .35rem;
}
.booking-form__manage:hover { color: var(--color-accent-dark); }

.booking-form__btn {
  /* uses .btn .btn--primary as base; overrides for snug fit inside cell */
  height: 56px;
  min-height: 56px;
  padding: 0 1.5rem;
}

.booking-form__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-2xs);
  padding-right: var(--space-2xs);
}
.booking-form__direct-link {
  font-size: .8125rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.booking-form__direct-link:hover { color: var(--color-accent-light); }

/* Hero adjustment when a booking form is present:
   - extra bottom padding so the form doesn't sit on a section break
   - allow the form to extend below the hero (overflow visible) */
.hero--home.has-booking-form {
  padding-bottom: 80px;
  overflow: visible;
}
/* The section directly after the booking-form hero gets extra top padding so the
   overlapping form doesn't crash into the section's content */
.hero--home.has-booking-form + .section { padding-top: clamp(6rem, 10vw, 9rem); }
@media (max-width: 1024px) {
  .hero--home.has-booking-form + .section { padding-top: clamp(8rem, 14vw, 11rem); }
}
@media (max-width: 600px) {
  .hero--home.has-booking-form + .section { padding-top: clamp(13rem, 30vw, 18rem); }
}
/* Tablet (form visible from 641px, two-row layout up to 1024px): the form is
   ~276px tall here, so lift the hero content clear of it, otherwise the form
   covers the Book Your Stay / Explore the Hotel buttons. */
@media (min-width: 641px) and (max-width: 1024px) {
  .hero--home.has-booking-form { padding-bottom: 170px; }
}
/* The header is position:fixed over the hero. When the hero content is taller
   than the hero's min-height (short laptop viewports) the content, not the
   min-height, sets the hero height, so it must reserve the header's space or
   the eyebrow disappears under the nav bar. */
.hero--home .hero__content { padding-top: calc(var(--header-h) + var(--space-md)); }
/* Short desktop/laptop viewports (e.g. 1366x599, 1280x600): compact the hero
   so headline + CTAs + booking form all fit above the fold.
   (body[data-page] prefix: pages.css sets the home title size at that specificity.) */
@media (min-width: 641px) and (max-height: 719px) {
  .hero--home.has-booking-form { min-height: 0; }
  .hero--home .hero__eyebrow { margin-bottom: var(--space-sm); }
  body[data-page="index"] .hero--home .hero__title { font-size: clamp(2rem, 3.6vw, 3rem); }
  .hero--home .hero__cta-row { margin-top: var(--space-md); }
  /* Text sits higher in the (now shorter) hero and closer to bright sky, so the
     caption pocket is a touch stronger here; nudged down 4% to follow the text. */
  .hero--home.has-booking-form .hero__content::before {
    background: radial-gradient(ellipse 50% 50% at 50% 54%, rgba(0,0,0,.68) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.36) 75%, rgba(0,0,0,0) 100%);
  }
}
/* ...and on desktop widths (single-row form) the hero needs less room below
   the CTAs. Tablet widths keep their padding so the two-row form stays clear. */
@media (min-width: 1025px) and (max-height: 719px) {
  .hero--home.has-booking-form { padding-bottom: 64px; }
  .hero--home .hero__content { padding-bottom: var(--space-md); }
}

/* Responsive: stack into 2 columns at tablet, 1 column at mobile */
@media (max-width: 1024px) {
  .booking-form {
    grid-template-columns: 1fr 1fr;
  }
  .booking-form__field { border-right: 1px solid var(--color-border); }
  .booking-form__field:nth-child(2n) { border-right: 0; }
  .booking-form__field:nth-child(odd):nth-last-child(2),
  .booking-form__field:nth-child(odd):last-child {
    border-right: 0;
  }
  .booking-form__cta {
    grid-column: 1 / -1;
    justify-content: space-between;
    border-top: 1px solid var(--color-border);
  }
}
@media (max-width: 600px) {
  .booking-form-wrap { bottom: -120px; }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .booking-form__field { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .booking-form__cta {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }
  .booking-form__btn { width: 100%; }
}

/* Rooms & Guests occupancy picker (per-room adults/children steppers + child ages) */
/* .hero has isolation:isolate, trapping the picker's z-index inside a z-auto context;
   later section reveals (will-change: transform) are also z-auto contexts and, being
   later in the DOM, paint OVER the open panel. Lift the hero's context above them. */
.hero--home.has-booking-form { z-index: 1; }
.bf-occ__trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.bf-occ__chevron { width: 16px; height: 16px; color: var(--color-text-muted); flex: 0 0 16px; }
.bf-occ-panel {
  position: absolute;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  padding: 1rem 1.1rem;
  max-height: min(420px, 60vh);
  overflow-y: auto;
}
.bf-occ-panel[hidden] { display: none !important; }
.bf-occ-room { padding: .65rem 0; border-bottom: 1px solid var(--color-border); }
.bf-occ-room:first-child { padding-top: 0; }
.bf-occ-room__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.bf-occ-room__title { font-weight: 600; font-size: .9375rem; color: var(--color-text); }
.bf-occ-room__remove {
  border: 0; background: none; padding: 0; font-family: inherit;
  font-size: .8125rem; color: var(--color-accent); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.bf-occ-room__remove:hover { color: var(--color-accent-dark); }
.bf-occ-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .3rem 0; }
.bf-occ-row__label { font-size: .875rem; color: var(--color-text); }
.bf-occ-row__label small { color: var(--color-text-muted); font-size: .75rem; }
.bf-occ-step { display: flex; align-items: center; gap: .6rem; }
.bf-occ-step button {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--color-border); background: #fff;
  display: grid; place-items: center;
  font-family: inherit; font-size: 1.05rem; line-height: 1;
  color: var(--color-text); cursor: pointer;
}
.bf-occ-step button:hover:not(:disabled) { border-color: var(--color-accent); color: var(--color-accent); }
.bf-occ-step button:disabled { opacity: .35; cursor: default; }
.bf-occ-step span { min-width: 1.25rem; text-align: center; font-weight: 500; color: var(--color-text); }
.bf-occ-age {
  font-family: inherit; font-size: .875rem; color: var(--color-text);
  border: 1px solid var(--color-border); border-radius: 4px;
  padding: .3rem .5rem; background: #fff; cursor: pointer;
}
.bf-occ-panel__footer { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; }
.bf-occ-panel__add {
  border: 0; background: none; padding: 0; font-family: inherit;
  font-size: .9rem; font-weight: 500; color: var(--color-accent); cursor: pointer;
}
.bf-occ-panel__add:hover:not(:disabled) { color: var(--color-accent-dark); }
.bf-occ-panel__add:disabled { opacity: .4; cursor: default; }
.bf-occ-panel__done {
  border: 0; border-radius: var(--radius-sm);
  background: var(--color-accent); color: #fff;
  padding: .5rem 1.1rem; font-family: inherit; font-size: .875rem; font-weight: 500;
  cursor: pointer;
}
.bf-occ-panel__done:hover { background: var(--color-accent-dark); }

/* Hero slider arrows — sit on top of the image, white default → accent on hover */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  z-index: 5;
}
.hero__nav:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.hero__nav svg { width: 20px; height: 20px; }
.hero__nav--prev { left: clamp(1rem, 3vw, 2.5rem); }
.hero__nav--next { right: clamp(1rem, 3vw, 2.5rem); }
/* Below 1440px the page gutter is too narrow for a left-hand arrow to clear the
   headline (it landed on the third line, "Airport"), so both arrows pair up on the
   right at mid-height, where the 18ch headline never reaches. */
@media (max-width: 1439px) {
  .hero__nav--prev { left: auto; right: calc(clamp(1rem, 3vw, 2.5rem) + 56px + 12px); }
}

/* Hero slider dots — large slick-style dots at the bottom */
.hero__dots {
  position: absolute;
  bottom: clamp(1.25rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .65rem;
  z-index: 5;
}
.hero__dot {
  width: 10px; height: 10px;
  position: relative;                 /* ::before enlarges the tap area */
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 0;
  cursor: pointer;
  transition: background var(--transition-fast), width var(--transition-fast), border-radius var(--transition-fast);
  padding: 0;
}
.hero__dot:hover { background: rgba(255,255,255,.85); }
.hero__dot.is-active {
  background: var(--color-accent);
  width: 32px;
  border-radius: 5px;
}

@media (max-width: 640px) {
  .hero__nav { width: 44px; height: 44px; }
  .hero__nav svg { width: 16px; height: 16px; }
}

.hero__content {
  width: 100%;
  padding-block: var(--space-2xl);
  color: #fff;
  position: relative;
  z-index: 1;
}
.hero--inner .hero__content { padding-block: var(--space-xl); }

/* Home hero caption pocket: the slides run at near-original brightness, so only
   the area behind the headline is darkened to keep the white/blue text at WCAG AA. */
.hero--home .hero__content::before {
  content: "";
  position: absolute;
  /* Box overshoots the text block; the ellipse reaches 0 alpha at the box edge,
     so there is never a visible rectangle. The home hero is overflow:visible
     (booking form hangs below it), so this box must NEVER extend past the
     right edge of the viewport or the whole page scrolls sideways. */
  inset: -25% auto -25% -20%;
  width: 95%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,0,0,.6) 0%, rgba(0,0,0,.54) 45%, rgba(0,0,0,.3) 75%, rgba(0,0,0,0) 100%);
}
@media (max-width: 768px) {
  /* Content box already spans the full viewport here: no horizontal overshoot,
     a wider ellipse covers the full-width headline instead. */
  .hero--home .hero__content::before {
    inset: -25% 0;
    width: auto;
    background: radial-gradient(ellipse 110% 50% at 50% 50%, rgba(0,0,0,.6) 0%, rgba(0,0,0,.54) 45%, rgba(0,0,0,.3) 75%, rgba(0,0,0,0) 100%);
  }
}

.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .8125rem;
  color: #fff;
  border-left: 2px solid var(--color-accent);
  padding-left: .75rem;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}
.hero__title {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -.025em;
  max-width: 18ch;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .35);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent-light);
}
.hero__sub {
  color: #E6E6E6;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 56ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-lg);
}

/* Hero FNB dropdown — anchored to the trigger button */
.hero-fnb { position: relative; display: inline-block; }
.hero-fnb__trigger { gap: .6rem; }
.hero-fnb__chevron {
  width: 14px; height: 14px;
  transition: transform var(--transition-fast);
}
.hero-fnb.is-open .hero-fnb__chevron { transform: rotate(180deg); }
.hero-fnb__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
  padding: .35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 5;
}
.hero-fnb.is-open .hero-fnb__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hero-fnb__link {
  display: block;
  padding: .65rem 1rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text);
  border-radius: 2px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.hero-fnb__link:hover { background: var(--color-bg-soft); color: var(--color-accent); }

/* Dining page CTA row — three buttons (Book a Table / Order Online / Contact Us)
   sitting in the bottom CTA section, centred and wrapping on narrow viewports. */
.dining-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* --- Enquiry modal — opens from the "Contact Us" button on the Meetings &
   Events page. Uses the native <dialog> element so browser handles focus
   trapping and Esc-to-close for free. */
.enquiry-modal {
  /* Strip browser defaults; we style the inner panel ourselves. */
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 600px;
  width: min(92vw, 600px);
  max-height: 92vh;
  border-radius: var(--radius-md, 12px);
  color: var(--color-text);
}
.enquiry-modal::backdrop {
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.enquiry-modal__panel {
  background: #fff;
  border-radius: var(--radius-md, 12px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.enquiry-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.enquiry-modal__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .02em;
  margin: 0;
  color: var(--color-text);
}
.enquiry-modal__close {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
  flex: 0 0 auto;
}
.enquiry-modal__close svg { width: 18px; height: 18px; }
.enquiry-modal__close:hover {
  background: var(--color-bg-soft);
  color: var(--color-text);
}
.enquiry-modal__form { margin: 0; }
.enquiry-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: 1.5rem;
}
.enquiry-modal__hint {
  font-size: .8125rem;
  margin: .75rem 0 0;
  text-align: right;
}

@media (max-width: 540px) {
  .enquiry-modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .enquiry-modal__actions .btn { width: 100%; }
}

.hero__scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem;
  z-index: 1;
}
.hero__scroll-cue::after {
  content: "";
  width: 1px; height: 36px;
  background: rgba(255,255,255,.5);
  animation: scrollCue 2.4s ease-in-out infinite;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
}

/* --- Section heading --- */
.section__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  max-width: 720px;
}
.section__head--center { margin-inline: auto; align-items: center; text-align: center; }
.section__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; gap: var(--space-md); flex-wrap: wrap; }

/* Tighter heading-to-content gap on mobile — 64px reads as a dead zone
   on a phone. 24px keeps clear separation without wasting screen height. */
@media (max-width: 640px) {
  .section__head { margin-bottom: var(--space-md); }
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-accent);
}
.section__title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.02em;
}
.section__title em { font-style: italic; color: var(--color-accent); font-weight: 500; }

/* ===== Small underline below all main headers — applied site-wide.
       Refined accent-tone slim line, matching the home-page brand standard. ===== */
.section__title::after,
.cta-band__title::after,
.hero__title::after,
.philosophy__heading h2::after,
.inner-intro__heading h2::after,
.inner-intro__h1::after,
.location-section__heading::after,
.mv-split__body .section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin-top: 1.1rem;
  margin-bottom: 0;
}
/* Centered section heads → centered underline */
.section__head--center .section__title::after,
.cta-band__title::after {
  margin-inline: auto;
}
/* On dark hero/CTA backgrounds, lift the underline tone slightly */
.hero__title::after { background: rgba(255,255,255,.55); }
.cta-band__title::after { background: rgba(255,255,255,.55); }
.section__lede {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 60ch;
}

/* --- Card --- */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--color-secondary);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms ease;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92);
  color: var(--color-accent);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .35rem .65rem;
  border-radius: 2px;
}
.card__body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
  display: flex; flex-direction: column;
  gap: var(--space-xs);
  flex: 1 1 auto;
}
.card__eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .75rem;
  color: var(--color-accent);
}
.card__title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -.01em;
}
.card__desc {
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: .9375rem;
  flex: 1 1 auto;
}
.card__cta {
  margin-top: auto;     /* pushes the CTA to the bottom of the card body
                           so KNOW MORE buttons align across cards even when
                           amenities/descriptions wrap to different heights */
  padding-top: var(--space-sm);
  align-self: flex-start;
}

/* --- Feature list (icon + label + line) --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.feature-list__item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.feature-list__item:hover { border-color: var(--color-accent); background: var(--color-bg-soft); }
.feature-list__icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  background: rgba(0, 119, 182, .08);
  color: var(--color-accent);
  border-radius: 50%;
  display: grid; place-items: center;
}
.feature-list__icon svg { width: 18px; height: 18px; }
.feature-list__title {
  font-weight: 500;
  font-size: .9375rem;
  margin-bottom: .25rem;
}
.feature-list__desc {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* --- Specs / definition list --- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.specs__item {
  background: #fff;
  padding: var(--space-md) var(--space-lg);
  display: flex; flex-direction: column;
  gap: .35rem;
}
.specs__label {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .7rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.specs__value {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-accent);
  letter-spacing: -.01em;
}
.specs__hint { font-size: .8rem; color: var(--color-text-muted); }

/* --- Slider --- */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-secondary);
}
.slider__track {
  display: flex;
  transition: transform 600ms cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }

/* --- Inner pages (rooms, dining, events sub-pages) — image fills the
   white rectangle of the slider container at a slightly shorter, more
   cinematic aspect ratio. --- */
html[data-depth="1"] .slider__slide {
  aspect-ratio: 16 / 9;
}
html[data-depth="1"] .slider__slide img {
  object-fit: cover;
}
@media (max-width: 640px) {
  html[data-depth="1"] .slider__slide {
    aspect-ratio: 16 / 10;
  }
}

/* Slider arrows — canonical hover state shared by every slider on the site:
   default white background with dark icon, hover flips to #0077B6 background
   with a white icon. Per-slider variants (.rooms-slider, .offers-slider, etc.)
   only override position, never the hover behavior. */
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--color-text);
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
}
.slider__nav:hover {
  background: var(--color-accent);
  color: #fff;
}
.slider__nav svg { width: 18px; height: 18px; }
.slider__nav--prev { left: 1rem; }
.slider__nav--next { right: 1rem; }

.slider__dots {
  position: absolute;
  bottom: 30px;                       /* sits ON the image with 30px padding from the bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: .5rem;
  z-index: 2;
}
.slider__dot {
  width: 8px; height: 8px;
  position: relative;                 /* ::before enlarges the tap area */
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35); /* keeps dots legible on bright photos */
  transition: background var(--transition-fast), width var(--transition-fast);
}
.slider__dot.is-active { background: #fff; width: 24px; border-radius: 4px; }

/* --- Rooms peek carousel — center-focused card with side previews ---
   Each card is absolutely positioned and gets translated to its visual
   slot (-1 = left peek, 0 = center/active, 1 = right peek, others hidden)
   by JS using a wrap-around index. The active card scales up, becomes
   clickable, and reveals its caption overlay; peek cards are dimmed and
   inert. The viewport gets its height set in JS to match the active card. */
.rooms-peek {
  position: relative;
  margin-top: var(--space-lg);
  /* Padding leaves room for the arrow buttons to sit outside the active card. */
  padding: 0 64px;
}
.rooms-peek__viewport {
  position: relative;
  overflow: hidden;
  /* Slight vertical breathing room so the scaled-up center card doesn't clip. */
  padding: 1.25rem 0;
}
.rooms-peek__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.rooms-peek__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--color-secondary);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .08);
  /* Default state — pre-JS render shows centered cards stacked. JS sets the
     real transform per card based on its offset from the active index. */
  transform: translate(-50%, -50%) scale(.84);
  opacity: 0;
  filter: saturate(.9);
  transition: transform 700ms cubic-bezier(.4, 0, .2, 1),
              opacity 500ms ease,
              filter 500ms ease,
              box-shadow 500ms ease;
  /* Side cards are not interactive — center card overrides this. */
  pointer-events: none;
  text-decoration: none;
  color: inherit;
}
.rooms-peek__card.is-active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
  z-index: 3;
}
.rooms-peek__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rooms-peek__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem 1.5rem;
  /* Soft dark gradient at the bottom so the white text stays readable. */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .55) 0%,
    rgba(0, 0, 0, .25) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease 150ms, transform 400ms ease 150ms;
}
.rooms-peek__card.is-active .rooms-peek__caption {
  opacity: 1;
  transform: translateY(0);
}
.rooms-peek__name {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.rooms-peek__cta {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  color: #fff;
}
.rooms-peek__cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: #fff;
  transition: width var(--transition-fast);
}
.rooms-peek__card.is-active:hover .rooms-peek__cta::after { right: 30%; }

/* Arrow buttons — white rounded squares floating at the edges */
.rooms-peek__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 56px;
  background: #fff;
  border: 0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--color-text);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  z-index: 3;
}
.rooms-peek__nav:hover {
  background: var(--color-accent);
  color: #fff;
}
.rooms-peek__nav svg { width: 18px; height: 18px; }
.rooms-peek__nav--prev { left: 8px; }
.rooms-peek__nav--next { right: 8px; }

/* Tablet — slightly larger card share, tighter outer padding */
@media (max-width: 1024px) {
  .rooms-peek { padding: 0 56px; }
  .rooms-peek__card { width: 70%; }
  .rooms-peek__caption { padding: 1.25rem 1.25rem 1.25rem; }
  .rooms-peek__name { font-size: 1.15rem; }
}

/* Mobile — single card prominent, peek cards squeezed to a sliver.
   Wider card + 4:3 ratio so the room photo reads at a useful size on
   a portrait phone instead of as a short landscape strip. */
@media (max-width: 640px) {
  .rooms-peek { padding: 0 12px; margin-top: var(--space-sm); }
  .rooms-peek__viewport { padding: .5rem 0; }
  .rooms-peek__card { width: 92%; aspect-ratio: 4 / 5; border-radius: 14px; }
  .rooms-peek__caption { padding: 1.1rem 1.1rem 1.1rem; }
  .rooms-peek__name { font-size: 1.05rem; }
  .rooms-peek__cta { font-size: .75rem; letter-spacing: .15em; }   /* 12px floor */
  .rooms-peek__nav {
    width: 38px;
    height: 44px;
    background: rgba(255, 255, 255, .92);
  }
  .rooms-peek__nav--prev { left: 4px; }
  .rooms-peek__nav--next { right: 4px; }
}

/* --- Dining feature — single summary widget ---
   Two-column layout: image slider on the left, cream content panel on
   the right. The image is taller than the panel and overlaps it, so the
   panel reads as a "card" floating behind the image.

   12-col grid:
   - Image (.dining-feature__media): cols 1-6 (50% of container width).
   - Panel (.dining-feature__panel): cols 5-12 (≈67% of container width).
   - Overlap: cols 5-6 → exactly 2 of the panel's 8 cols = 25% of the
     panel's own width. The panel's padding-left must clear that overlap
     plus a comfortable buffer so the text never sits under the image. */
.dining-feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-top: var(--space-lg);
}
.dining-feature__media {
  position: relative;
  grid-column: 1 / span 6;
  grid-row: 1;
  z-index: 2;
}
.dining-feature__panel {
  position: relative;
  grid-column: 5 / span 8;
  grid-row: 1;
  z-index: 1;
  background: var(--color-bg-soft);
  /* 25% = the image-overlap portion of the panel width. The extra rem
     amount is the gap between the image edge and the start of text. */
  padding: 3.5rem 3rem 3.5rem calc(25% + 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Image slider inside the media column — rounded corners and consistent
   aspect ratio. The existing .slider rules cover the track/transition;
   these overrides set the visual footprint. */
.dining-feature__slider {
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .14);
}
.dining-feature__slider .slider__slide {
  aspect-ratio: 4 / 3;
}
.dining-feature__slider .slider__nav {
  /* Arrow buttons match the rooms-peek style — white rounded squares,
     hover flips to accent. The base .slider__nav already styles colors,
     but we use a slightly larger square here for visibility. */
  width: 44px;
  height: 52px;
  border-radius: 6px;
}
.dining-feature__slider .slider__nav--prev { left: 1rem; }
.dining-feature__slider .slider__nav--next { right: 1rem; }

.dining-feature__eyebrow {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.dining-feature__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--color-text);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.dining-feature__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
}
.dining-feature__rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--color-text-muted);
  opacity: .55;
  margin: 0 0 1.5rem;
}
.dining-feature__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 52ch;
}
.dining-feature__desc strong {
  color: var(--color-text);
  font-weight: 500;
}
.dining-feature__cta {
  /* Slightly smaller and a touch tighter than the default .btn--secondary. */
  align-self: flex-start;
}

@media (max-width: 1024px) {
  /* Tighter columns: image cols 1-6 (50%), panel cols 6-12 (≈58%),
     overlap = 1 col = 1/7 of panel = ~14.3% of panel width. */
  .dining-feature__media { grid-column: 1 / span 6; }
  .dining-feature__panel {
    grid-column: 6 / span 7;
    padding: 2.5rem 2rem 2.5rem calc(14.3% + 2rem);
  }
  .dining-feature__slider .slider__slide { aspect-ratio: 3 / 2.4; }
}

@media (max-width: 768px) {
  /* Stack: image on top, full-width panel below. Panel no longer overlaps. */
  .dining-feature {
    grid-template-columns: 1fr;
  }
  .dining-feature__media,
  .dining-feature__panel {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .dining-feature__panel {
    padding: 2rem 1.5rem;
    margin-top: -2rem;       /* slight overlap with the image bottom for cohesion */
    z-index: 0;
  }
  .dining-feature__slider .slider__slide { aspect-ratio: 16 / 10; }
}

/* Mobile — tighten the stack so the title doesn't sit in a big void of
   beige padding. Reduces panel padding, title size, and the gaps between
   eyebrow / title / rule / description / CTA. */
@media (max-width: 640px) {
  .dining-feature__panel {
    /* 20px top padding = the requested gap between image and "DINING"
       eyebrow on mobile. No negative margin here — overlap is removed. */
    padding: 1.25rem 1.25rem 1.5rem;
    margin-top: 0;
  }
  .dining-feature__eyebrow { margin-bottom: var(--space-2xs); }
  .dining-feature__title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-2xs);
  }
  .dining-feature__rule { margin-bottom: var(--space-sm); }
  .dining-feature__desc { margin-bottom: var(--space-md); }
}

/* --- Nearby attractions — 3-panel hover grid ---
   Two stacked layers:
     1) Image layer (.attractions-grid__img) — three absolutely-positioned
        images. Default: each occupies one third of the widget, side-by-side.
        On hover of any panel: the matching image expands to 100% width
        (z-index promoted) and the other two fade to opacity 0.
     2) Panel layer (.attraction-panel) — three hot-zone anchors sitting
        on top of the image layer. Each has a static name label at the
        bottom plus a translucent overlay (with title + description) that
        fades in on hover. Labels of NON-hovered panels stay visible over
        the expanded image, so the user can still see the other choices. */
.attractions-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--space-lg);
  /* Cinematic wide aspect; matches the reference proportions roughly 21:9. */
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  isolation: isolate;
}

/* Image layer — three images, each ⅓ wide by default. */
.attractions-grid__img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 33.3334%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: width 600ms cubic-bezier(.4, 0, .2, 1),
              left 600ms cubic-bezier(.4, 0, .2, 1),
              opacity 350ms ease;
}
.attractions-grid__img[data-attraction="nandi"] { left: 0; }
.attractions-grid__img[data-attraction="devanahalli"]   { left: 33.3334%; }
.attractions-grid__img[data-attraction="grover"]   { left: 66.6667%; }

/* Hover: hovered image expands to fill the widget; others fade out.
   We use :has() so a hover anywhere inside a panel anchor drives the
   image layer (which is a sibling of the panel layer, not a child). */
.attractions-grid:has(.attraction-panel[data-attraction="nandi"]:hover) .attractions-grid__img[data-attraction="nandi"],
.attractions-grid:has(.attraction-panel[data-attraction="devanahalli"]:hover)   .attractions-grid__img[data-attraction="devanahalli"],
.attractions-grid:has(.attraction-panel[data-attraction="grover"]:hover)   .attractions-grid__img[data-attraction="grover"] {
  width: 100%;
  left: 0;
  z-index: 2;
}
.attractions-grid:has(.attraction-panel[data-attraction="nandi"]:hover) .attractions-grid__img:not([data-attraction="nandi"]),
.attractions-grid:has(.attraction-panel[data-attraction="devanahalli"]:hover)   .attractions-grid__img:not([data-attraction="devanahalli"]),
.attractions-grid:has(.attraction-panel[data-attraction="grover"]:hover)   .attractions-grid__img:not([data-attraction="grover"]) {
  opacity: 0;
}

/* Panel layer — hot zones above all images. */
.attraction-panel {
  position: relative;
  grid-row: 1;
  z-index: 3;
  display: block;
  text-decoration: none;
  color: inherit;
}
.attraction-panel[data-attraction="nandi"] { grid-column: 1; }
.attraction-panel[data-attraction="devanahalli"]   { grid-column: 2; }
.attraction-panel[data-attraction="grover"]   { grid-column: 3; }

/* Default-state name label — anchored at the bottom over a soft dark
   scrim. Each panel's label leans toward its outer edge (per reference):
   left panel → left, middle → center, right panel → right. */
.attraction-panel__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.5rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, .55) 0%,
    rgba(0, 0, 0, .25) 55%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  transition: opacity 300ms ease, transform 400ms ease;
}
.attraction-panel[data-attraction="nandi"] .attraction-panel__label { text-align: center; }
.attraction-panel[data-attraction="devanahalli"]   .attraction-panel__label { text-align: center; }
.attraction-panel[data-attraction="grover"]   .attraction-panel__label { text-align: center; }

/* Hide the hovered panel's own label so the overlay reads cleanly.
   Other panels' labels stay visible over the expanded image. */
.attraction-panel:hover .attraction-panel__label {
  opacity: 0;
  transform: translateY(6px);
}

/* Hover overlay — translucent cream covering only the hovered panel's
   ⅓ slice, with title + description centred inside. */
.attraction-panel__overlay {
  position: absolute;
  inset: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .85rem;
  background: rgba(250, 247, 242, .85);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.attraction-panel:hover .attraction-panel__overlay,
.attraction-panel:focus-visible .attraction-panel__overlay {
  opacity: 1;
}
.attraction-panel__title {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .02em;
  margin: 0;
  color: var(--color-text);
}
.attraction-panel__desc {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
  max-width: 32ch;
}

/* Tablet — slightly taller proportion so descriptions don't crowd. */
@media (max-width: 1024px) {
  .attractions-grid { aspect-ratio: 16 / 9; }
  .attraction-panel__desc { font-size: .875rem; }
}

/* Dot indicators for the mobile attractions slider — hidden on desktop
   (the desktop layout is a hover-expand grid with no need for paging). */
.cards-slider-dots { display: none; }
.cards-slider-dots__dot {
  width: 8px;
  height: 8px;
  position: relative;                 /* ::before enlarges the tap area */
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.cards-slider-dots__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.35);
}

/* Mobile — convert the 3-panel hover grid into a horizontal swipeable
   card slider. Each column is a full container-width slide containing
   one image (top) and its caption (bottom). Native CSS scroll-snap
   handles the paging; attractions-slider.js builds the dot indicators. */
@media (max-width: 640px) {
  .attractions-grid {
    grid-template-columns: repeat(3, 100%);
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    aspect-ratio: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    box-shadow: none;
    margin-top: var(--space-md);
    scrollbar-width: none;
  }
  .attractions-grid::-webkit-scrollbar { display: none; }

  /* Images sit in row 1 of each card and define the snap points. */
  .attractions-grid__img {
    position: relative;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    left: auto !important;
    border-radius: 14px 14px 0 0;
    scroll-snap-align: start;
  }
  .attractions-grid__img[data-attraction="nandi"] { grid-column: 1; }
  .attractions-grid__img[data-attraction="devanahalli"]   { grid-column: 2; }
  .attractions-grid__img[data-attraction="grover"]   { grid-column: 3; }

  /* Captions sit in row 2, directly under their image. */
  .attraction-panel {
    grid-row: 2;
    background: var(--color-bg-soft);
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 0 0 14px 14px;
  }
  .attraction-panel[data-attraction="nandi"] { grid-column: 1 !important; }
  .attraction-panel[data-attraction="devanahalli"]   { grid-column: 2 !important; }
  .attraction-panel[data-attraction="grover"]   { grid-column: 3 !important; }

  /* Hover-expand rules from desktop are no-ops on touch, but neutralise
     them anyway so a hover-capable mobile browser can't fire them. */
  .attractions-grid:has(.attraction-panel:hover) .attractions-grid__img,
  .attractions-grid:has(.attraction-panel:hover) .attractions-grid__img:not([data-attraction]) {
    width: 100%;
    opacity: 1;
  }

  .attraction-panel__label { display: none; }
  .attraction-panel__overlay {
    opacity: 1;
    position: static;
    background: transparent;
    text-align: left;
    align-items: flex-start;
    padding: 0;
  }
  .attraction-panel__desc { max-width: none; }

  .cards-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-sm);
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background var(--transition-fast);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--color-accent); }
.lightbox__close { top: -3rem; right: 0; }
.lightbox__nav--prev { left: -4rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: -4rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 800px) {
  .lightbox__close { top: -3.5rem; right: 0; }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
}

/* --- Forms --- */
.form { display: flex; flex-direction: column; gap: var(--space-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: .35rem; }
.form__label {
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--color-text-muted);
  font-weight: 500;
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}
.form__textarea { min-height: 140px; resize: vertical; }
.form__consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; line-height: 1.5; color: var(--color-text-muted); cursor: pointer; }
.form__consent input { flex: 0 0 auto; margin-top: .3rem; width: 1rem; height: 1rem; accent-color: var(--color-accent); }
.form__status { padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }

/* --- CTA band --- */
.cta-band {
  background: var(--color-accent);
  color: #fff;
  padding: var(--space-2xl) 0;
  text-align: center;
}
.cta-band__title {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  max-width: 24ch;
  margin-inline: auto;
  letter-spacing: -.02em;
}
.cta-band__lede { color: rgba(255,255,255,.85); margin-top: var(--space-md); max-width: 56ch; margin-inline: auto; }
.cta-band__row {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}
.cta-band--soft {
  background: var(--color-bg-soft);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-band--soft .cta-band__title { color: var(--color-text); }
.cta-band--soft .cta-band__lede { color: var(--color-text-muted); }

/* --- Placeholder block --- */
.placeholder-block {
  border: 1.5px dashed var(--color-accent);
  background: rgba(0,119,182,.04);
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  color: var(--color-accent-dark);
  font-style: italic;
  line-height: 1.7;
  font-size: 1rem;
}
.placeholder-block strong { font-style: normal; text-transform: uppercase; letter-spacing: .15em; font-size: .8125rem; display: block; margin-bottom: .5rem; color: var(--color-accent); }

/* --- Badge row --- */
.badge-row {
  display: flex; flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  justify-content: center; align-items: center;
  padding-block: var(--space-lg);
}
.badge-row__item {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem;
  color: var(--color-text-muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  text-align: center;
}
.badge-row__item strong {
  display: block;
  font-size: 1.125rem;
  color: var(--color-accent);
  letter-spacing: .05em;
  font-weight: 500;
}
.badge-row__logo {
  height: 64px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: .5rem;
  opacity: .9;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.badge-row__item:hover .badge-row__logo {
  opacity: 1;
  transform: translateY(-2px);
}
/* .badge-row__logo--cert {
  height: 160px;
  max-width: 130px;
} */

/* --- Two-column intro / split --- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-xl);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.split__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-secondary);
}
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--wide .split__media img { aspect-ratio: 4/3; }

@media (max-width: 880px) {
  .split, .split--reverse, .split--wide { grid-template-columns: 1fr; gap: var(--space-lg); }
  .split--reverse .split__media { order: -1; }
}

/* --- Dining sub-brand mark (dining outlet pages) --- */
.brand-mark {
  display: inline-block;
  height: 88px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.brand-mark--hero {
  height: 96px;
  max-width: 240px;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1); /* turn the logo white over the hero overlay */
}
.brand-mark--intro {
  height: 100px;
  max-width: 260px;
  margin-bottom: var(--space-md);
}
/* Brand mark inside the card body (above the title) — small & restrained.
   object-position: left ensures the visible logo content aligns to the left
   edge of the bounding box (most logo PNGs have transparent padding). */
.card__brand-mark {
  display: block;
  height: 40px;
  width: 140px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
  margin-left: 0;
  margin-bottom: var(--space-2xs);
}

/* --- Capacity table --- */
.capacity {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.capacity th, .capacity td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.capacity thead th {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-soft);
}
.capacity tbody th {
  font-weight: 500;
  color: var(--color-accent);
}
@media (max-width: 700px) {
  .capacity, .capacity tbody, .capacity tr, .capacity td, .capacity th { display: block; width: 100%; }
  .capacity thead { display: none; }
  .capacity tbody tr {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
  }
  .capacity tbody th { padding: 0 0 .5rem; font-size: 1.125rem; border-bottom: 1px solid var(--color-border); margin-bottom: .5rem; }
  .capacity td { display: flex; justify-content: space-between; padding: .5rem 0; border: 0; font-size: .9rem; }
  .capacity td::before {
    content: attr(data-label);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-right: 1rem;
  }
}

/* --- Top-right slide-in popup: "Reserve a Table" -------------------------- */
.reserve-popup {
  position: fixed;
  top: var(--header-h);   /* sits just below the fixed header */
  right: 20px;
  width: 300px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
  overflow: hidden;
  z-index: 95;
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform 500ms cubic-bezier(.22, .61, .36, 1), opacity 400ms ease;
  font-family: var(--font-sans);
}
.reserve-popup.is-visible {
  transform: translateX(0);
  opacity: 1;
}
.reserve-popup__media {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.reserve-popup__body {
  padding: 1rem 1.1rem 1.1rem;
}
.reserve-popup__eyebrow {
  display: block;
  font-size: .75rem;   /* 12px floor for legibility on phones */
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: .35rem;
}
.reserve-popup__title {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0 0 .4rem;
}
.reserve-popup__desc {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0 0 .9rem;
}
.reserve-popup__cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition-fast);
}
.reserve-popup__cta:hover {
  background: var(--color-accent-dark);
  color: #fff;
}
.reserve-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background var(--transition-fast);
}
.reserve-popup__close:hover { background: rgba(0, 0, 0, .8); }
.reserve-popup__close svg { width: 14px; height: 14px; }

/* Slide out to the right when the user closes it. */
body.has-concierge-open .reserve-popup { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms ease; }

@media (max-width: 640px) {
  .reserve-popup {
    top: auto;
    bottom: 96px;
    right: 12px;
    width: 260px;
  }
  .reserve-popup__media { height: 110px; }
}


/* ===== Continue-booking nudge (beData popup) — tokens derived from this site ===== */
.booking-nudge {
  /* ---- design tokens: derived from Value Inn base.css ---- */
  --cbn-surface: #FFFFFF;            /* card background (site cards are white) */
  --cbn-border: #E6E6E6;             /* --color-border */
  --cbn-ink: #1A1A1A;                /* --color-text */
  --cbn-muted: #6B6B6B;              /* --color-text-muted (5.3:1 on white) */
  --cbn-accent: #005F92;             /* --color-accent-dark: 6.0:1 on white (base accent #0077B6 is 4.39:1 — sub-AA) */
  --cbn-accent-2: #4FB6E5;           /* --color-accent-light for the top strip */
  --cbn-cta-bg: #005F92;             /* AA 6.0:1 with white label */
  --cbn-cta-ink: #FFFFFF;
  --cbn-cta-hover: #004A73;         /* darker brand blue (location panel gradient end) */
  --cbn-font-display: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --cbn-font-body: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --cbn-radius: 8px;                 /* --radius-md */
  --cbn-cta-radius: 0;               /* site .btn is square */
  --cbn-cta-transform: uppercase;    /* site .btn */
  --cbn-cta-tracking: .15em;         /* site .btn */
  --cbn-ease: cubic-bezier(.25, .8, .25, 1);
  /* ---- end tokens ---- */

  overflow: hidden;
  background: var(--cbn-surface);
  border: 1px solid var(--cbn-border);
  border-radius: var(--cbn-radius);
  box-shadow: 0 20px 60px -16px rgba(0, 0, 0, .25), 0 2px 8px rgba(0, 0, 0, .06);
  display: none;
  opacity: 0;
  position: fixed;
  /* Inner pages, desktop: bottom-LEFT. The right side is taken (Direct Booking
     Offer card top-right on the homepage, WhatsApp FAB bottom-right sitewide).
     Homepage / small or short viewports are repositioned by the rules below. */
  left: 24px;
  bottom: 24px;
  transform: translateY(20px);
  transition: transform .45s var(--cbn-ease), opacity .45s var(--cbn-ease);
  width: min(380px, calc(100vw - 48px));
  z-index: 2900; /* above page chrome, below any cookie-consent overlay */
}
.booking-nudge.show { display: block; }
.booking-nudge.in { opacity: 1; transform: translateY(0); }

.bn-accent { background: linear-gradient(90deg, var(--cbn-accent), var(--cbn-accent-2)); height: 3px; left: 0; position: absolute; right: 0; top: 0; }

.bn-header { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; padding: 20px 24px 0; }
.bn-name { color: var(--cbn-ink); font-family: var(--cbn-font-display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; line-height: 1.25; }
.bn-close { align-items: center; background: transparent; border: 1px solid var(--cbn-border); border-radius: 50%; color: var(--cbn-muted); cursor: pointer; display: flex; flex-shrink: 0; height: 32px; justify-content: center; transition: all .3s var(--cbn-ease); width: 32px; }
.bn-close:hover { background: var(--cbn-ink); border-color: var(--cbn-ink); color: #fff; transform: rotate(90deg); }
.bn-close svg { height: 12px; width: 12px; }

.bn-body { padding: 12px 24px 20px; }
.bn-subtitle { color: var(--cbn-muted); font-family: var(--cbn-font-body); font-size: 14px; font-weight: 400; line-height: 1.6; margin-bottom: 4px; }
.bn-property { color: var(--cbn-accent); font-family: var(--cbn-font-display); font-size: 18px; font-weight: 500; letter-spacing: .01em; }
.bn-meta { color: var(--cbn-muted); font-family: var(--cbn-font-body); font-size: 13px; font-weight: 400; line-height: 1.5; margin-top: 8px; }
.bn-meta:empty { display: none; }
.bn-price { color: var(--cbn-muted); display: none; font-family: var(--cbn-font-body); font-size: 12px; font-weight: 400; line-height: 1.5; margin-top: 8px; }
.bn-price.loaded { display: block; }
.bn-price .price-msg { color: var(--cbn-accent); font-family: var(--cbn-font-display); font-size: 20px; font-weight: 500; }
.bn-price .general-msg { color: var(--cbn-muted); font-size: 12px; }

.bn-actions { align-items: center; display: flex; gap: 12px; padding: 0 24px 20px; }
.bn-cta { align-items: center; background: var(--cbn-cta-bg); border: 1px solid var(--cbn-cta-bg); border-radius: var(--cbn-cta-radius); color: var(--cbn-cta-ink); display: inline-flex; font-family: var(--cbn-font-body); font-size: 12px; font-weight: 500; gap: 8px; letter-spacing: var(--cbn-cta-tracking); padding: 12px 28px; text-decoration: none; text-transform: var(--cbn-cta-transform); transition: all .35s var(--cbn-ease); }
.bn-cta:hover { background: var(--cbn-cta-hover); border-color: var(--cbn-cta-hover); }
.bn-cta:after { background: currentColor; content: ""; height: 1px; transition: width .3s var(--cbn-ease); width: 14px; }
.bn-cta:hover:after { width: 20px; }

@media (max-width: 600px) {
  .booking-nudge { border-radius: 8px; left: 12px; right: auto; width: calc(100vw - 24px); }
  .bn-header { padding: 16px 18px 0; }
  .bn-body { padding: 10px 18px 16px; }
  .bn-actions { padding: 0 18px 16px; }
  .bn-name { font-size: 19px; }
  .bn-property { font-size: 16px; }
}

/* Up to 1024px wide, or any viewport under 720px tall: dock under the fixed
   header. The bottom of the screen is taken there (phones: fixed bottom bar +
   WhatsApp FAB + offer card; tablets and short laptops: the booking form hangs
   below the hero and its top moves with the viewport height). */
@media (max-width: 1024px), (max-height: 719px) {
  .booking-nudge { top: calc(var(--header-h) + 12px); bottom: auto; transform: translateY(-20px); }
}
/* Homepage (tablet + desktop): the hero is packed at every size (H1 + CTA row on
   the left, slider arrows, offer card + WhatsApp FAB on the right, booking form
   hanging off the bottom), so the card docks under the header aligned with the
   content's left edge: at >= 1440px the prev arrow sits at x 40-96, and the
   container offset keeps the card clear of it. It overlaps only hero text
   (eyebrow / top of the H1), never a control. Phones keep left: 12px above. */
@media (min-width: 601px) {
  body[data-page="index"] .booking-nudge {
    top: calc(var(--header-h) + 12px);
    bottom: auto;
    left: max(24px, calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
    /* no transform here: body[data-page] .booking-nudge (0,2,1) would outrank
       .booking-nudge.in (0,2,0) and freeze the slide-in 20px high */
  }
}
/* Compact hero (site's short-laptop mode): the hero text band ends at y 368 where
   the CTA row starts, so the card sits flush under the header and drops the
   price row + some padding to stay inside that band (~224px tall). */
@media (min-width: 1025px) and (max-height: 719px) {
  body[data-page="index"] .booking-nudge { top: var(--header-h); }
  body[data-page="index"] .booking-nudge .bn-price { display: none; }
  body[data-page="index"] .booking-nudge .bn-header { padding-top: 14px; }
  body[data-page="index"] .booking-nudge .bn-body { padding: 8px 24px 14px; }
  body[data-page="index"] .booking-nudge .bn-actions { padding-bottom: 14px; }
}

/* Slider dots are 8-10px visually; extend the pointer target to >= 24px
   (WCAG 2.5.8) without changing the dot itself. */
.hero__dot::before,
.slider__dot::before,
.cards-slider-dots__dot::before {
  content: "";
  position: absolute;
  inset: -8px;
}

/* == remarketing-nudge == "Get these prices emailed to you!" (namespaced .pi-)
   THE TOKEN BLOCK IS THE ONLY PART YOU EDIT PER SITE. Derive every value from the
   target site's own CSS (SKILL.md STEP 3); the structure below is proven on The Hans
   Hotels (Sep 2026) and stays as-is. Scoped to .pi-modal — no :root pollution.

   This is the only true modal on most sites: it takes the whole screen and locks body
   scroll, so nothing else may paint above it except a skip link. Set --rmn-z above the
   site's drawer/cookie notice and below its skip link. */
.pi-modal {
  /* ---- design tokens: fill from the target site ---- */
  --rmn-z: 3000;                                   /* above header 100 / drawer 110 / continue-booking card 2900, below skip link 10000 */
  --rmn-backdrop: rgba(26, 26, 26, .62);           /* --color-text #1A1A1A at .62 */
  --rmn-surface: #FFFFFF;                          /* site dialogs/cards are white (.reserve-popup) */
  --rmn-shadow: 0 18px 48px rgba(0, 0, 0, .22);    /* .reserve-popup shadow */
  --rmn-ink: var(--color-text, #1A1A1A);           /* 17.4:1 on white */
  --rmn-muted: var(--color-text-muted, #6B6B6B);   /* 5.3:1 on white */
  --rmn-accent: var(--color-accent-dark, #005F92); /* 6.0:1 on white (base accent #0077B6 is 4.39:1, sub-AA) */
  --rmn-field-bg: #FFFFFF;
  --rmn-field-ink: var(--color-text, #1A1A1A);
  --rmn-field-placeholder: var(--color-text-muted, #6B6B6B); /* 5.3:1 on white */
  --rmn-cta-bg: var(--color-accent-dark, #005F92); /* AA 6.0:1 with white label; .btn--primary hover colour */
  --rmn-cta-ink: #FFFFFF;
  --rmn-cta-hover: #004A73;                        /* darker brand blue (location panel gradient end) */
  --rmn-close-bg: rgba(26, 26, 26, .06);
  --rmn-close-hover: rgba(26, 26, 26, .12);
  --rmn-font-display: var(--font-sans, 'Roboto', system-ui, sans-serif); /* site uses Roboto throughout */
  --rmn-font-body: var(--font-sans, 'Roboto', system-ui, sans-serif);
  --rmn-font-cta: var(--rmn-font-body);
  --rmn-display-weight: 500;                       /* .section__title weight */
  --rmn-cta-transform: uppercase;                  /* .btn */
  --rmn-cta-tracking: .15em;                       /* .btn */
  --rmn-radius: 12px;                              /* .reserve-popup card radius */
  --rmn-field-radius: 0;                           /* .btn is square; inputs use --radius-sm */
  --rmn-t: .4s cubic-bezier(.4, 0, .2, 1);         /* site FAB transition token */
  /* ---- end tokens ---- */

  position: fixed; inset: 0; z-index: var(--rmn-z); display: none;
  align-items: center; justify-content: center; padding: 24px;
}
.pi-modal.show { display: flex; }
.pi-backdrop { position: absolute; inset: 0; background: var(--rmn-backdrop);
  opacity: 0; transition: opacity var(--rmn-t); }
.pi-modal.in .pi-backdrop { opacity: 1; }

/* A dark card reads as an offer rather than an error, and the CTA carries all the
   contrast it needs against it. */
.pi-panel { position: relative; z-index: 1; width: min(460px, 100%);
  background: var(--rmn-surface); box-shadow: var(--rmn-shadow); border-radius: var(--rmn-radius);
  padding: 44px 44px 34px; text-align: center;
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity var(--rmn-t), transform var(--rmn-t); }
.pi-modal.in .pi-panel { opacity: 1; transform: none; }

.pi-view { display: flex; flex-direction: column; align-items: stretch; }

.pi-title { font-family: var(--rmn-font-display); font-size: 1.95rem; font-weight: var(--rmn-display-weight); line-height: 1.18;
  color: var(--rmn-ink); margin: 0 0 26px; }

.pi-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
/* 17px keeps iOS from zooming the viewport when the field takes focus. */
.pi-field { width: 100%; min-height: 52px; padding: 14px 18px; box-sizing: border-box;
  background: var(--rmn-field-bg); color: var(--rmn-field-ink); border: 1px solid var(--color-border, #E6E6E6); /* light surface: visible field edge (site .form__input) */
  border-radius: var(--rmn-field-radius);
  font-family: var(--rmn-font-body); font-size: 17px; line-height: 1.4; }
.pi-field::placeholder { color: var(--rmn-field-placeholder); }
.pi-field:focus-visible { outline: 2px solid var(--rmn-accent); outline-offset: 2px; }

.pi-error[hidden] { display: none; }
/* Muted accent, not red: it has to clear 4.5:1 on the dark surface, which a warning
   red does not. The role="alert" is what carries the urgency. */
.pi-error { font-family: var(--rmn-font-body); font-size: .78rem; line-height: 1.4;
  color: var(--rmn-muted); text-align: left; margin: -4px 0 0; }

.pi-submit { width: 100%; min-height: 52px; padding: 14px 22px;
  background: var(--rmn-cta-bg); color: var(--rmn-cta-ink); border: none; cursor: pointer;
  border-radius: var(--rmn-field-radius);
  font-family: var(--rmn-font-cta); font-weight: 600; font-size: .95rem;
  text-transform: var(--rmn-cta-transform); letter-spacing: var(--rmn-cta-tracking);
  transition: background var(--rmn-t); }
.pi-submit:hover, .pi-submit:focus-visible { background: var(--rmn-cta-hover); }

.pi-note { font-family: var(--rmn-font-body); font-size: .8rem; line-height: 1.4;
  color: var(--rmn-muted); margin: 16px 0 0; }

/* 44px hit area, small glyph. */
.pi-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center; padding: 0;
  background: var(--rmn-close-bg); border: none; border-radius: 50%;
  color: var(--rmn-ink); cursor: pointer; transition: background var(--rmn-t); }
.pi-close:hover, .pi-close:focus-visible { background: var(--rmn-close-hover); }
.pi-close svg { width: 14px; height: 14px; }

/* ---- success view ---- */
.pi-success { align-items: center; gap: 0; }
.pi-success-icon { display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: 0 0 18px; border-radius: 50%;
  background: var(--rmn-cta-bg); color: var(--rmn-cta-ink); }
.pi-success-icon svg { width: 22px; height: 22px; }
.pi-success-title { font-family: var(--rmn-font-display); font-size: 1.7rem; font-weight: var(--rmn-display-weight);
  line-height: 1.2; color: var(--rmn-ink); margin: 0 0 10px; }
.pi-success-sub { font-family: var(--rmn-font-body); font-size: .82rem; line-height: 1.5;
  color: var(--rmn-muted); margin: 0 0 6px; }
.pi-success-prop { font-family: var(--rmn-font-display); font-size: 1.22rem; font-weight: var(--rmn-display-weight);
  line-height: 1.25; color: var(--rmn-accent); margin: 0 0 24px; }
.pi-success-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 48px; padding: 12px 22px; box-sizing: border-box;
  background: var(--rmn-cta-bg); color: var(--rmn-cta-ink); text-decoration: none;
  border-radius: var(--rmn-field-radius);
  font-family: var(--rmn-font-cta); font-weight: 600; font-size: .72rem; letter-spacing: 1.6px;
  text-transform: uppercase; transition: background var(--rmn-t); }
.pi-success-cta:hover, .pi-success-cta:focus-visible { background: var(--rmn-cta-hover); color: var(--rmn-cta-ink); }
.pi-success-cta svg { width: 14px; height: 14px; transition: transform var(--rmn-t); }
.pi-success-cta:hover svg { transform: translateX(4px); }

@media (max-width: 600px) {
  .pi-modal { padding: 16px; }
  .pi-panel { padding: 38px 24px 28px; }
  .pi-title { font-size: 1.6rem; }
  .pi-success-title { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pi-panel { transform: none; transition: opacity .3s; }
  .pi-backdrop { transition: opacity .3s; }
  .pi-submit, .pi-close, .pi-success-cta, .pi-success-cta svg { transition: none; }
  .pi-success-cta:hover svg { transform: none; }
}
/* == /remarketing-nudge == */
