/* =============================================================
   Coral Cloud Resorts — style.css
   Vanilla CSS3. All brand tokens defined in :root.
   ============================================================= */

:root {
  /* --- Brand colors --- */
  --color-primary-teal: #7FB6AF;
  --color-accent-coral: #F69285;
  --color-neutral-dark: #2C3E50;

  /* --- Derived / support tokens --- */
  --color-light: #F7FAF9;
  --color-white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow-soft: 0 18px 50px rgba(44, 62, 80, 0.18);
  --shadow-deep: 0 30px 80px rgba(44, 62, 80, 0.28);

  /* --- Typography --- */
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;

  /* --- Layout --- */
  --nav-height: 84px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  padding: 14px 30px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn-primary {
  background: var(--color-accent-coral);
  color: var(--color-white);
  box-shadow: 0 10px 26px rgba(246, 146, 133, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(246, 146, 133, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border: 1px solid rgba(44, 62, 80, 0.25);
}

.btn-ghost:hover {
  border-color: var(--color-primary-teal);
  color: var(--color-primary-teal);
}

/* =============================================================
   Navigation
   ============================================================= */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: #FFFFFF;
  border-bottom: 1px solid #EAEAEA;
}

.nav-logo {
  height: 52px;
  width: auto;
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  filter: none;
  box-shadow: none;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--color-neutral-dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  opacity: 0.92;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--color-accent-coral);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

.loyalty-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-neutral-dark);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border: 1px solid rgba(127, 182, 175, 0.5);
  border-radius: var(--radius-pill);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.loyalty-link:hover {
  background: rgba(127, 182, 175, 0.14);
  border-color: var(--color-primary-teal);
}

.loyalty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-coral);
  box-shadow: 0 0 0 4px rgba(246, 146, 133, 0.25);
}

/* Authenticated avatar identity chip */
.loyalty-link.is-authenticated {
  gap: 12px;
  padding: 7px 18px 7px 8px;
  background: rgba(127, 182, 175, 0.12);
}

.nav-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-teal), var(--color-accent-coral));
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.nav-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.nav-identity-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
}

.nav-identity-pts {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-primary-teal);
}

/* =============================================================
   Hero + Video stage
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-neutral-dark);
}

/* True fullscreen video background */
.video-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  opacity: 0;                       /* JS fades 0 -> 1 */
  transition: opacity 0.5s ease;    /* smooth opacity handling */
}

.video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 62, 80, 0.55) 0%,
    rgba(44, 62, 80, 0.25) 35%,
    rgba(44, 62, 80, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 90px) 48px 0;
  text-align: center;
  color: var(--color-white);
  text-shadow: 0 2px 18px rgba(44, 62, 80, 0.45);
}

.region-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 7px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.region-btn {
  color: var(--color-white);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  opacity: 0.85;
  transition: background 0.35s var(--ease), opacity 0.35s var(--ease),
    color 0.35s var(--ease);
}

.region-btn:hover {
  opacity: 1;
}

.region-btn.is-active {
  background: var(--color-white);
  color: var(--color-neutral-dark);
  opacity: 1;
}

.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-teal);
  margin-bottom: 18px;
  transition: opacity 0.4s var(--ease);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-primary.booking-submit {
  white-space: nowrap;
}

/* =============================================================
   Glassmorphic Booking Bar
   ============================================================= */
.booking-bar {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 130px;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 64px));
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: end;
  gap: 22px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.8);     /* glassmorphism */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.booking-field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-teal);
}

.booking-field select,
.booking-field input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-neutral-dark);
  padding: 12px 14px;
  border: 1px solid rgba(44, 62, 80, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.booking-field select:focus,
.booking-field input:focus {
  outline: none;
  border-color: var(--color-primary-teal);
  box-shadow: 0 0 0 3px rgba(127, 182, 175, 0.25);
}

/* =============================================================
   Consent / Privacy Banner
   ============================================================= */
.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 40px;
  background: rgba(44, 62, 80, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(127, 182, 175, 0.4);
  color: var(--color-white);
  transform: translateY(0);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.consent-banner.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.consent-text {
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 300;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.82);
}

.consent-text strong {
  color: var(--color-white);
  font-weight: 600;
}

.consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.consent-actions .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.consent-actions .btn-ghost:hover {
  border-color: var(--color-primary-teal);
  color: var(--color-primary-teal);
}

/* =============================================================
   Agentforce Floating Widget
   ============================================================= */
.agent-fab {
  position: fixed;
  bottom: 96px;
  right: 32px;
  z-index: 70;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-teal), var(--color-accent-coral));
  box-shadow: 0 14px 36px rgba(246, 146, 133, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.agent-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 44px rgba(246, 146, 133, 0.62);
}

.agent-fab.is-open {
  transform: scale(0.92);
  opacity: 0.85;
}

.agent-window {
  position: fixed;
  bottom: 170px;
  right: 32px;
  z-index: 71;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 220px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);     /* glassmorphism */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.agent-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--color-primary-teal), #6aa39c);
  color: var(--color-white);
}

.agent-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.agent-name {
  font-size: 0.98rem;
  font-weight: 600;
}

.agent-status {
  font-size: 0.74rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.agent-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ff0c0;
  box-shadow: 0 0 0 3px rgba(143, 240, 192, 0.3);
}

.agent-close {
  color: var(--color-white);
  font-size: 1.6rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}

.agent-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.agent-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(247, 250, 249, 0.55);
}

.agent-msg {
  max-width: 82%;
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-radius: 16px;
}

.agent-msg-bot {
  align-self: flex-start;
  background: var(--color-white);
  color: var(--color-neutral-dark);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.agent-msg-user {
  align-self: flex-end;
  background: var(--color-accent-coral);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

/* Scripted Agentforce quick-reply (interactive choice) buttons */
.agent-quickreplies {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 88%;
  animation: fadeRise 0.4s var(--ease) both;
}

.agent-qr-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  padding: 11px 16px;
  color: var(--color-primary-teal);
  background: var(--color-white);
  border: 1px solid var(--color-primary-teal);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.agent-qr-btn:hover {
  background: var(--color-primary-teal);
  color: var(--color-white);
  transform: translateY(-1px);
}

.agent-qr-btn:active {
  transform: translateY(0);
}

.agent-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(44, 62, 80, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.agent-input-row input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  border: 1px solid rgba(44, 62, 80, 0.15);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-neutral-dark);
}

.agent-input-row input:focus {
  outline: none;
  border-color: var(--color-primary-teal);
  box-shadow: 0 0 0 3px rgba(127, 182, 175, 0.22);
}

.agent-send {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background: var(--color-primary-teal);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.agent-send:hover {
  background: var(--color-accent-coral);
  transform: scale(1.05);
}

/* =============================================================
   Load Animations — fade-rise (0s / 0.2s / 0.4s delays)
   ============================================================= */
@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-rise,
.fade-rise-delay,
.fade-rise-delay-2 {
  opacity: 0;
  animation: fadeRise 0.9s var(--ease) forwards;
}

.fade-rise {
  animation-delay: 0s;
}

.fade-rise-delay {
  animation-delay: 0.2s;
}

.fade-rise-delay-2 {
  animation-delay: 0.4s;
}

/* booking bar keeps horizontal centering while animating */
.booking-bar.fade-rise-delay-2 {
  animation-name: fadeRiseCentered;
}

@keyframes fadeRiseCentered {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* =============================================================
   Loyalty Login / Registration Modal
   ============================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(44, 62, 80, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  background: rgba(44, 62, 80, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(127, 182, 175, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  padding: 42px 38px 36px;
  color: var(--color-light);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-light);
  transition: background 0.3s var(--ease);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal-head {
  text-align: center;
  margin-bottom: 26px;
}

.modal-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary-teal);
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
}

.loyalty-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-teal);
}

.form-field input {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--color-white);
  padding: 12px 14px;
  border: 1px solid rgba(127, 182, 175, 0.2);
  border-bottom: 1px solid var(--color-primary-teal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--color-primary-teal);
  box-shadow: 0 2px 0 0 var(--color-primary-teal);
}

.modal-submit {
  margin-top: 6px;
  width: 100%;
}

/* Solid Accent Coral submit buttons with soft hover upscale */
.modal-submit:hover,
.prefs-save:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 38px rgba(246, 146, 133, 0.55);
}

.modal-toggle-row {
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
}

.modal-toggle-link {
  font-weight: 700;
  color: var(--color-accent-coral);
  margin-left: 6px;
  transition: color 0.3s var(--ease);
}

.modal-toggle-link:hover {
  color: var(--color-primary-teal);
}

/* Identity Resolution loading spinner */
.login-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 30px 10px 18px;
  text-align: center;
}

.login-spinner[hidden] {
  display: none;
}

.spinner-ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid rgba(127, 182, 175, 0.22);
  border-top-color: var(--color-primary-teal);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner-text {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 30ch;
}

/* =============================================================
   Guest Profile Dashboard / Preference Center
   ============================================================= */
.guest-portal {
  position: fixed;
  inset: 0;
  z-index: 95;
  overflow-y: auto;
  background: linear-gradient(160deg, #1d2a36 0%, #2c3e50 60%, #243340 100%);
  color: var(--color-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(2%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.guest-portal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.portal-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 40px 80px;
}

.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.portal-logo {
  height: 48px;
  width: auto;
}

.portal-exit {
  color: var(--color-white);
  border-color: rgba(127, 182, 175, 0.4);
}

.portal-exit:hover {
  border-color: var(--color-primary-teal);
  color: var(--color-primary-teal);
}

.portal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.portal-card {
  background: rgba(44, 62, 80, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(127, 182, 175, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  padding: 34px;
  color: var(--color-light);
}

/* Identity card — deeper glass tint */
.portal-identity {
  background: linear-gradient(160deg, rgba(29, 42, 54, 0.92), rgba(44, 62, 80, 0.85));
  color: var(--color-white);
  border: 1px solid rgba(127, 182, 175, 0.25);
}

.tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral-dark);
  background: linear-gradient(135deg, var(--color-primary-teal), var(--color-accent-coral));
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.guest-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 8px;
}

.guest-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.guest-meta strong {
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.points-block {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.points-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-primary-teal);
  margin-bottom: 10px;
}

.points-value {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--color-white);
  margin-bottom: 12px;
}

.points-note {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Preferences card */
.prefs-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.prefs-sub {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

.prefs-group {
  margin-bottom: 28px;
}

.prefs-group-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-teal);
  margin-bottom: 16px;
}

.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.toggle-row:last-child {
  border-bottom: none;
}

.toggle-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-light);
}

.toggle-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.toggle-track {
  width: 46px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.3s var(--ease);
}

.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 5px rgba(44, 62, 80, 0.3);
  transition: transform 0.3s var(--ease);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--color-primary-teal);
}

.toggle-switch input:checked + .toggle-track::after {
  transform: translateX(20px);
}

.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.interest-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(127, 182, 175, 0.22);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-light);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.interest-chip input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary-teal);
  cursor: pointer;
}

.interest-chip:hover {
  border-color: var(--color-primary-teal);
}

.interest-chip:has(input:checked) {
  border-color: var(--color-primary-teal);
  background: rgba(127, 182, 175, 0.18);
}

.prefs-save {
  margin-top: 8px;
  width: 100%;
}

/* =============================================================
   Authenticated nav caret + member dropdown
   ============================================================= */
.nav-actions {
  position: relative;
}

.nav-caret {
  font-size: 1.2rem;
  color: var(--color-primary-teal);
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease);
  margin-left: 2px;
}

.nav-actions.is-authenticated:hover .nav-caret,
.member-dropdown.is-open ~ .nav-caret {
  transform: rotate(-90deg);
}

/* Single hover wrapper enclosing BOTH the trigger and the menu.
   Becomes the positioning context so the menu anchors to it with
   no dead zone, and hover state covers the whole region. */
.account-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.member-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  z-index: 80;
  padding: 22px;
  background: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 182, 175, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  color: var(--color-light);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

/* Invisible hover bridge — spans the 14px gap between trigger and menu
   so the cursor never crosses a dead zone and triggers mouseleave. */
.member-dropdown::before {
  content: "";
  position: absolute;
  top: -14px; /* matches the calc(100% + 14px) offset above */
  left: 0;
  width: 100%;
  height: 14px;
}

.member-dropdown.is-open,
.account-dropdown-wrapper.is-authenticated:hover .member-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.dropdown-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-teal), var(--color-accent-coral));
}

.dropdown-name {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-white);
}

.dropdown-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: rgba(127, 182, 175, 0.12);
  border: 1px solid rgba(127, 182, 175, 0.25);
}

.status-pill {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-dark);
  background: linear-gradient(135deg, #cfd8dc, #aeb6bb);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.status-valid {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
}

.dropdown-points-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 8px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.points-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.points-cell-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-white);
}

.points-cell-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-teal);
}

.dropdown-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.dropdown-link {
  display: block;
  padding: 11px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.dropdown-link:hover {
  background: rgba(127, 182, 175, 0.15);
  color: var(--color-white);
}

.dropdown-logout {
  width: 100%;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-coral);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  transition: color 0.25s var(--ease);
}

.dropdown-logout:hover {
  color: var(--color-white);
}

/* =============================================================
   Full Dashboard Workspace
   ============================================================= */
.dashboard-workspace {
  position: fixed;
  inset: 0;
  z-index: 96;
  overflow-y: auto;
  background: linear-gradient(160deg, #1d2a36 0%, #2c3e50 60%, #243340 100%);
  color: var(--color-light);
  opacity: 0;
  pointer-events: none;
  transform: translateY(2%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.dashboard-workspace.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dash-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 40px 80px;
}

/* Sidebar */
.dash-sidebar {
  align-self: start;
  position: sticky;
  top: 48px;
  padding: 28px;
  background: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 182, 175, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.dash-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.dash-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-teal), var(--color-accent-coral));
}

.dash-profile-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
}

.dash-status-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-dark);
  background: linear-gradient(135deg, #cfd8dc, #aeb6bb);
  padding: 3px 11px;
  border-radius: var(--radius-pill);
}

.dash-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 8px;
  margin-bottom: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.dash-points-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.dash-points-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-white);
}

.dash-points-label {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary-teal);
}

/* Sidebar accordion tree */
.dash-tree {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.tree-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-light);
  border-radius: var(--radius-md);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.tree-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tree-toggle.is-active {
  background: rgba(127, 182, 175, 0.18);
  color: var(--color-white);
}

.tree-chevron {
  font-size: 1.1rem;
  color: var(--color-primary-teal);
  transition: transform 0.3s var(--ease);
}

.tree-toggle.is-active .tree-chevron {
  transform: rotate(90deg);
}

.tree-sub {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.3s var(--ease);
}

.tree-sub.is-open {
  grid-template-rows: 1fr;
}

.tree-sub > * {
  min-height: 0;
}

.tree-link {
  display: block;
  padding: 10px 14px 10px 26px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.tree-link:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.tree-link.is-current {
  color: var(--color-primary-teal);
  font-weight: 600;
}

.dash-exit {
  width: 100%;
  color: var(--color-white);
  border-color: rgba(127, 182, 175, 0.4);
}

.dash-exit:hover {
  border-color: var(--color-primary-teal);
  color: var(--color-primary-teal);
}

/* Main workspace */
.dash-main {
  min-width: 0;
}

.dash-main-head {
  margin-bottom: 28px;
}

.dash-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-teal);
  margin-bottom: 10px;
}

.dash-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 12px;
}

.dash-lead {
  max-width: 60ch;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.dash-card {
  padding: 30px;
  margin-bottom: 22px;
  background: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 182, 175, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.dash-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-teal);
  margin-bottom: 18px;
}

.dash-save {
  width: 100%;
  margin-top: 4px;
}

.dash-save:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 38px rgba(246, 146, 133, 0.55);
}

/* =============================================================
   Experiences page
   ============================================================= */
.page-dark {
  background: #f9fbfa;
  min-height: 100vh;
}

/* Fixed white band variant — floats over the experiences hero */
.site-nav--solid {
  position: fixed;
}

.nav-links a.is-current {
  opacity: 1;
  color: var(--color-primary-teal);
  font-weight: 600;
}

.nav-links a.is-current::after {
  width: 100%;
  background: var(--color-primary-teal);
}

.experiences {
  background: #f9fbfa;
  padding: calc(var(--nav-height) + 80px) 40px 110px;
  color: var(--color-neutral-dark);
}

.experiences-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.experiences-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary-teal);
  margin-bottom: 14px;
}

.experiences-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  color: var(--color-neutral-dark);
  margin-bottom: 18px;
}

.experiences-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(44, 62, 80, 0.7);
}

/* ---- Immersive luxury gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 340px;
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

/* First item spans full width for an artistic, editorial rhythm */
.gallery-item--maldives {
  grid-column: 1 / -1;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  background-size: cover;
  background-position: center;
}

/* Soft bottom gradient → keeps static title legible on photography */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 62, 80, 0) 35%,
    rgba(44, 62, 80, 0.7) 100%
  );
}

/* Premium luxury cover photography (local, Hostinger/Linux-safe paths) */
.gallery-item--maldives {
  background-image: url('assets/images/Diving.jpg');
}

.gallery-item--alps {
  background-image: url('assets/images/Heli-ski.jpg');
}

.gallery-item--caribbean {
  background-image: url('assets/images/jet-ski.jpg');
}

.gallery-region {
  position: relative;
  z-index: 1;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-teal);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-title-static {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.12;
  max-width: 22ch;
  color: var(--color-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

/* Elegant white hover overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-teal);
}

.gallery-overlay-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  color: var(--color-neutral-dark);
}

.gallery-cta {
  margin-top: 4px;
}

.gallery-cta:hover {
  transform: translateY(-2px) scale(1.02);
}

/* =============================================================
   Activity detail pages
   ============================================================= */
.detail-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 60px 48px;
  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 62, 80, 0.25) 0%,
    rgba(44, 62, 80, 0.2) 45%,
    rgba(44, 62, 80, 0.78) 100%
  );
}

.detail-hero--maldives {
  background-image: url('assets/images/Diving.jpg');
}

.detail-hero--alps {
  background-image: url('assets/images/Heli-ski.jpg');
}

.detail-hero--caribbean {
  background-image: url('assets/images/jet-ski.jpg');
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  color: var(--color-white);
  text-shadow: 0 2px 18px rgba(44, 62, 80, 0.45);
}

.detail-region {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-primary-teal);
  margin-bottom: 16px;
}

.detail-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  max-width: 18ch;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 48px 110px;
}

.detail-main {
  color: var(--color-neutral-dark);
}

.detail-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-teal);
  margin-bottom: 14px;
}

.detail-lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.4;
  color: var(--color-neutral-dark);
  margin-bottom: 30px;
}

.detail-body p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(44, 62, 80, 0.82);
  margin-bottom: 20px;
}

.itinerary {
  list-style: none;
  margin: 30px 0 40px;
  border-top: 1px solid rgba(44, 62, 80, 0.12);
}

.itinerary li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(44, 62, 80, 0.12);
}

.itinerary-step {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary-teal);
  flex-shrink: 0;
  width: 38px;
}

.itinerary-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
  margin-bottom: 6px;
}

.itinerary-text p {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 62, 80, 0.7);
  margin: 0;
}

.pricing-card {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: rgba(127, 182, 175, 0.1);
  border: 1px solid rgba(127, 182, 175, 0.3);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-neutral-dark);
}

.pricing-meta {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(44, 62, 80, 0.7);
}

/* Glassmorphic booking inquiry sidebar */
.booking-inquiry {
  align-self: start;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  padding: 32px 30px;
  background: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 182, 175, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
  color: var(--color-light);
}

.inquiry-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 6px;
}

.inquiry-sub {
  font-size: 0.86rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inquiry-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  padding: 12px 14px;
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(127, 182, 175, 0.2);
  border-bottom: 1px solid var(--color-primary-teal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.inquiry-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.inquiry-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 0 0 var(--color-primary-teal);
}

.inquiry-form select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  padding: 12px 14px;
  border: 1px solid rgba(127, 182, 175, 0.2);
  border-bottom: 1px solid var(--color-primary-teal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.inquiry-form select option {
  color: var(--color-neutral-dark);
}

.inquiry-form select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 0 0 var(--color-primary-teal);
}

.inquiry-submit {
  width: 100%;
  margin-top: 4px;
}

.inquiry-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 38px rgba(246, 146, 133, 0.55);
}

/* ---- Residences programme cards ---- */
.residence-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

.residence-item {
  padding: 26px 28px;
  background: var(--color-white);
  border: 1px solid rgba(127, 182, 175, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.residence-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary-teal);
  box-shadow: 0 18px 44px rgba(44, 62, 80, 0.12);
}

.residence-region {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-primary-teal);
}

.residence-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--color-neutral-dark);
  margin: 8px 0 10px;
}

.residence-desc {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(44, 62, 80, 0.72);
  margin-bottom: 14px;
}

.residence-price {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-accent-coral);
}

/* ---- VIP Fast-Track (Diamond Circle) ---- */
.vip-fast-track {
  text-align: center;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(29, 42, 54, 0.96), rgba(44, 62, 80, 0.92));
  border: 1px solid rgba(214, 178, 102, 0.6);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(214, 178, 102, 0.15);
}

.vip-fast-track[hidden] {
  display: none;
}

.vip-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1d2a36;
  background: linear-gradient(135deg, #f3d9a0, #d6b266);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.vip-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #e9c987;
  margin-bottom: 10px;
}

.vip-sub {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.vip-cta {
  width: 100%;
  color: #1d2a36;
  background: linear-gradient(135deg, #f3d9a0, #d6b266);
  box-shadow: 0 12px 30px rgba(214, 178, 102, 0.4);
}

.vip-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(214, 178, 102, 0.55);
}

/* =============================================================
   Concierge page
   ============================================================= */
.concierge {
  background: #f9fbfa;
  padding: calc(var(--nav-height) + 70px) 40px 100px;
  color: var(--color-neutral-dark);
}

.concierge-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.concierge-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary-teal);
  margin-bottom: 14px;
}

.concierge-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.06;
  color: var(--color-neutral-dark);
  margin-bottom: 18px;
}

.concierge-lead {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(44, 62, 80, 0.7);
}

.concierge-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.concierge-card,
.concierge-agent-card {
  padding: 36px 34px;
  border-radius: var(--radius-lg);
  background: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(127, 182, 175, 0.25);
  box-shadow: var(--shadow-deep);
  color: var(--color-light);
}

.concierge-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--color-white);
  margin-bottom: 24px;
}

/* Agentforce welcome card */
.concierge-agent-card {
  background: linear-gradient(160deg, rgba(127, 182, 175, 0.92), rgba(44, 62, 80, 0.92));
  text-align: left;
}

.agent-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral-dark);
  background: var(--color-white);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.agent-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 14px;
}

.agent-card-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 26px;
}

.agent-card-cta {
  width: 100%;
}

.agent-card-cta:hover {
  transform: translateY(-2px) scale(1.02);
}

/* =============================================================
   Homepage fullscreen lock + floating micro-widgets
   ============================================================= */
body.home-fixed,
html:has(body.home-fixed) {
  height: 100vh;
  overflow: hidden;
}

.home-fixed .hero {
  height: 100vh;
  min-height: 0;
}

/* ---- Navbar utility area (newsletter + app shortcuts) ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-news {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-news-input {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-neutral-dark);
  width: 130px;
  padding: 6px 2px;
  border: none;
  border-bottom: 1px solid #EAEAEA;
  background: transparent;
  transition: border-color 0.3s var(--ease);
}

.nav-news-input::placeholder {
  color: rgba(44, 62, 80, 0.45);
}

.nav-news-input:focus {
  outline: none;
  border-bottom-color: var(--color-primary-teal);
}

.nav-news-join {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary-teal);
  padding: 4px 2px;
  transition: color 0.3s var(--ease);
}

.nav-news-join:hover {
  color: var(--color-accent-coral);
}

.nav-apps {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
  border-left: 1px solid #EAEAEA;
  padding-left: 16px;
}

.nav-app-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-neutral-dark);
  transition: color 0.3s var(--ease);
}

.nav-app-link:hover {
  color: var(--color-primary-teal);
}

/* =============================================================
   Global luxury footer
   ============================================================= */
.site-footer {
  background: #2C3E50;
  color: #FFFFFF;
  border-top: 1px solid rgba(127, 182, 175, 0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 48px 48px;
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
  max-width: 46ch;
}

.footer-store-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary-teal);
  transform: translateY(-2px);
}

.store-sub {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.store-main {
  font-size: 1rem;
  font-weight: 600;
}

.footer-news .newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 180px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  padding: 13px 16px;
  border: 1px solid rgba(127, 182, 175, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-primary-teal);
  box-shadow: 0 0 0 3px rgba(127, 182, 175, 0.22);
}

.newsletter-btn {
  white-space: nowrap;
}

.footer-base {
  text-align: center;
  padding: 22px 48px;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1180px) {
  .nav-news,
  .nav-apps {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .site-nav {
    padding: 0 24px;
  }

  .booking-bar {
    grid-template-columns: 1fr 1fr;
    bottom: 150px;
  }

  .booking-submit {
    grid-column: 1 / -1;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .dash-shell {
    grid-template-columns: 1fr;
    padding: 32px 20px 64px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .gallery-item--maldives {
    grid-column: auto;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px 80px;
  }

  .booking-inquiry {
    position: static;
  }

  .concierge-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 36px;
  }

  .detail-hero {
    padding: 40px 24px;
  }

  .dash-sidebar {
    position: static;
  }

  .member-dropdown {
    width: min(320px, calc(100vw - 32px));
  }
}

@media (max-width: 620px) {
  .hero-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .region-switcher {
    flex-wrap: wrap;
    justify-content: center;
  }

  .booking-bar {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-actions .btn {
    flex: 1;
  }

  .agent-window {
    right: 16px;
    left: 16px;
    width: auto;
  }
}
