:root {
  --bg: #fdfdfb;
  --bg-elev: #ffffff;
  --card: rgba(255, 255, 255, 0.8);
  --border: rgba(0, 0, 0, 0.06);
  --text: #0f172a;
  --text-dim: #64748b;
  --accent1: #c5a059;
  --accent2: #a38144;
  --accent3: #fef9ed;
  --success: #10b981;
  --warn: #dba00d;
  --danger: #ef4444;
  --nav-bg: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial;
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* ===== LOADING ANIMATION ===== */
.loader-wrapper {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 2px solid #f1f5f9;
  border-top: 2px solid var(--accent1);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  margin: 0 auto 20px;
}

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

.loader-text {
  font-family: Fraunces, serif;
  font-size: 1.2rem;
  letter-spacing: 6px;
  color: var(--accent1);
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== LIGHT LUXURY BACKGROUND ===== */
.bg-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 20% 20%, #fef9ed 0%, transparent 40%),
    radial-gradient(circle at 80% 10%, #f1f5f9 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, #fdfdfb 0%, transparent 50%);
  filter: blur(80px);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .03;
  background-image: linear-gradient(var(--text) 1px, transparent 1px), linear-gradient(90deg, var(--text) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== TYPOGRAPHY & ELEMENTS ===== */
h1, h2, h3, h4 {
  font-family: Fraunces, serif;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.grad-text {
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-dim); }

/* ===== NAVIGATION ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.head-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 15px 0;
  row-gap: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.brand-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #c5a059;
}

.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.desktop-nav { display: none; gap: 8px; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-btn {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}

.nav-btn:hover, .nav-btn.active {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

/* ===== MOBILE TAB BAR ===== */
.mobile-tab-bar {
  position: relative;
  height: 80px;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
}

@media (min-width: 1024px) {
  .mobile-tab-bar { display: none; }
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  flex: 1;
  padding: 8px 0;
}

.tab-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-item.active {
  color: var(--accent1);
}

.tab-item.active svg {
  transform: translateY(-2px);
  color: var(--accent1);
}

@media (max-width: 1024px) {
  body { padding-bottom: 80px; }
}

/* ===== AVATAR & DROPDOWN ===== */
.avatar-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c5a059, #8b6a2f);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.avatar-wrap:hover .avatar-circle, .avatar-wrap.open .avatar-circle {
  border-color: var(--text);
  transform: translateY(-2px);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  padding: 8px;
}
.avatar-wrap.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-item {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.2s;
}
.dropdown-item:hover {
  background: #f8fafc;
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ===== NOTIFICATIONS ===== */
.nav-notif {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav-notif:hover {
  background: #f8fafc;
  color: var(--text);
}
.notif-dot {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  display: none;
}
.notif-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: -50px;
  width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
  padding: 8px;
  text-align: left;
}
.nav-notif.open .notif-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.notif-item {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  transition: background 0.2s;
  margin-bottom: 2px;
}
.notif-item:hover {
  background: #f8fafc;
}
.notif-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.notif-body {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}
.notif-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}

.avatar-header {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #c5a059, #8b6a2f);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.avatar-wrap:hover .avatar-header {
  border-color: var(--text);
}

/* ===== SHARED RESPONSIVE ELEMENTS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 1024px) {
  .two-col { 
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1100px) {
  .hotel-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 700px) {
  .hotel-grid { grid-template-columns: 1fr; gap: 20px; }
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 850px) {
  .kpi-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--text);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ===== CARDS & PANELS ===== */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.card-pad { padding: 32px; }

/* ===== HERO SECTION ===== */
.hero {
  padding: 80px 0;
  display: grid;
  gap: 40px;
  align-items: center;
  min-height: 80vh;
}

@media (min-width: 1024px) { .hero { grid-template-columns: 1.2fr 0.8fr; } }
.hero-content { max-width: 640px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--accent3);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

h1.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 32px; }

.hero-search {
  background: #fff;
  padding: 8px;
  border-radius: 22px;
  border: 1px solid var(--border);
  display: grid;
  gap: 8px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 640px) { .hero-search { grid-template-columns: 1fr 1fr auto; align-items: center; } }

.search-input-wrap { display: flex; flex-direction: column; padding: 8px 16px; }
.search-input-wrap label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.search-input-wrap input, .search-input-wrap select { border: none; outline: none; background: transparent; font-size: 15px; font-weight: 500; color: var(--text); }

/* ===== BENTO DESTINATIONS ===== */
.dest-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 220px);
  margin-top: 40px;
}

@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: 260px 260px; } }

.dest-card { position: relative; border-radius: 24px; overflow: hidden; cursor: pointer; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.dest-card:hover img { transform: scale(1.1); }

.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.dest-overlay p { color: #fff; opacity: 0.85; }

.dest-large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1023px) { .dest-large { grid-column: span 2; grid-row: span 1; } }

/* ===== HOTEL GRID ===== */
.hotel-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.hotel { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); transition: 0.3s; }
.hotel:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.06); }
.hotel-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.hotel-img img { width: 100%; height: 100%; object-fit: cover; }
.hotel-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 100px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); font-size: 11px; font-weight: 700; }
.hotel-body { padding: 20px; }
.hotel-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.hotel-meta { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.hotel-foot { padding-top: 16px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.hotel-price { font-weight: 700; font-size: 1.1rem; }
.hotel-earn { color: var(--success); font-weight: 600; font-size: 13px; }

/* ===== TASKS ===== */
.task-item { padding: 16px; border-radius: 18px; border: 1px solid var(--border); display: flex; gap: 16px; align-items: center; transition: 0.2s; cursor: pointer; }
.task-thumb { width: 100px; height: 70px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.rating-container { display: flex; gap: 8px; margin: 20px 0; }
.star-btn { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--border); background: #fff; font-size: 20px; color: #cbd5e1; }
.star-btn.active { background: var(--accent3); color: var(--accent1); border-color: var(--accent1); }

/* ===== LIVE FEED ===== */
.live-feed { display: flex; align-items: center; gap: 12px; padding: 12px 24px; background: #fff; border: 1px solid var(--border); border-radius: 100px; font-size: 13px; font-weight: 500; width: fit-content; margin-top: 32px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* ===== MODALS ===== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); z-index: 100; display: none; place-items: center; padding: 20px; }
.modal-backdrop.show { display: grid; }
.modal { width: 100%; max-width: 600px; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.2); }

/* ===== KPI ===== */
.kpi-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi-card { padding: 24px; border-radius: 24px; background: var(--bg-elev); border: 1px solid var(--border); }
.kpi-val { font-size: 2rem; font-weight: 700; margin-top: 8px; }

/* ===== WORKFLOW SECTION ===== */
.workflow-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.workflow-card { text-align: center; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.workflow-card:hover { transform: translateY(-4px); }
.workflow-icon { font-size: 44px; margin-bottom: 24px; line-height: 1; }
.workflow-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); }

@media (max-width: 900px) {
  .workflow-grid { grid-template-columns: 1fr; gap: 16px; }
  .workflow-card { text-align: left; padding: 20px; flex-direction: row; align-items: flex-start; gap: 20px; }
  .workflow-icon { font-size: 32px; margin-bottom: 0; flex-shrink: 0; background: rgba(197,160,89,0.1); padding: 16px; border-radius: 18px; border: 1px solid rgba(197,160,89,0.2); display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; }
  .workflow-content { flex: 1; margin-top: 4px; }
  .workflow-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
  .workflow-content p { font-size: 0.9rem; line-height: 1.5; margin: 0; }
}
/* ===== CHAT ===== */
.chat-log { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.msg { max-width: 80%; padding: 12px 18px; border-radius: 20px; font-size: 14px; position: relative; }
.msg.agent { align-self: flex-start; background: #f1f5f9; color: var(--text); border-bottom-left-radius: 4px; }
.msg.you { align-self: flex-end; background: var(--text); color: #fff; border-bottom-right-radius: 4px; }
.msg time { display: block; font-size: 9px; opacity: 0.5; margin-top: 4px; }

/* ===== TOASTS ===== */
.toasts { position: fixed; bottom: 30px; right: 30px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--text); color: #fff; padding: 14px 24px; border-radius: 100px; font-size: 13px; font-weight: 600; box-shadow: 0 20px 40px rgba(0,0,0,0.2); animation: slideIn 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
@keyframes slideIn { from { transform: translateX(100px); opacity:0; } to { transform: translateX(0); opacity:1; } }

/* ===== AUTH ===== */
input.input, select.select { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: #f8fafc; font-family: inherit; font-size: 14px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }

.tab { background: transparent; border: none; font-weight: 600; font-size: 14px; border-radius: 10px; transition: 0.2s; }
.tab.active { background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

/* ===== FOOTER ===== */
footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; background: #fff; }
.foot-inner { color: var(--text-dim); font-size: 13px; font-weight: 400; }

/* ===== FLOATING CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-bubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-bubble:hover {
  transform: scale(1.1) rotate(-5deg);
}

.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}
.chat-badge.show {
  opacity: 1;
  transform: scale(1);
}

.chat-panel {
  width: 380px;
  height: 520px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  animation: slideUp 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.chat-panel.show { display: flex; }

/* ===== ADMIN DASHBOARD ===== */
.admin-bg {
  background: #0f172a;
  color: #f8fafc;
}

.admin-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.admin-alert {
  background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
  color: #fff;
  padding: 16px 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  gap: 12px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.admin-alert.show { display: flex; }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.status-online { background: #10b981; box-shadow: 0 0 10px #10b981; }

/* ===== PARTNER GRID ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.partner-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  cursor: pointer;
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: 0.6s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: var(--accent1);
}

.partner-card:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.partner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0.8;
  transition: 0.4s;
}

.partner-card:hover .partner-overlay {
  opacity: 1;
}

.partner-label {
  color: #fff;
  font-family: Fraunces, serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== TOP RATED HOTELS ===== */
.rated-hotels-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 40px;
}

.rated-card {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.rated-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
}

.rated-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.rated-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.rated-card:hover .rated-img img {
  transform: scale(1.1);
}

.rated-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.rated-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rated-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent1);
  margin-bottom: 8px;
}

.rated-name {
  font-size: 1.6rem;
  font-family: Fraunces, serif;
  margin-bottom: 12px;
  line-height: 1.1;
}

.rated-loc {
  font-size: 14px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.rated-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rated-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 14px;
}

.rated-reviews {
  font-size: 12px;
  color: var(--text-dim);
}

/* Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.mt-4 { margin-top: 24px; }
.mt-6 { margin-top: 48px; }
.hidden { display: none !important; }
.right { text-align: right; }

/* ===== FAQ SECTION ===== */
.faq-section { padding: 48px 0; border-top: 1px solid var(--border); }

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.faq-header-text { text-align: center; margin: 0 auto; }
.faq-header-text h2 { font-size: 2rem; margin-top: 8px; }
.faq-header-text p  { margin-top: 8px; font-size: 0.9rem; max-width: 420px; margin-left: auto; margin-right: auto; }

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) { .faq-list { grid-template-columns: 1fr 1fr; } }

.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  align-self: start;
}

.faq-item.open {
  border-color: var(--accent1);
  box-shadow: 0 6px 20px -6px rgba(197, 160, 89, 0.15);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s;
  line-height: 1.4;
}

.faq-q:hover { background: rgba(0,0,0,0.02); }

.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent3);
  color: var(--accent2);
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1), background 0.2s;
}

.faq-icon svg { width: 14px; height: 14px; }

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--accent1);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  padding: 0 20px;
}

.faq-a p {
  margin: 0;
  padding-bottom: 16px;
  color: var(--text-dim);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE — Mobile First Overrides
   ============================================================ */

/* ----- Hamburger Button ----- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  z-index: 200;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Mobile Nav Drawer ----- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 149;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  animation: mobileNavIn 0.22s ease;
}
.mobile-nav.open { display: flex; }
@keyframes mobileNavIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.mobile-nav a,
.mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.mobile-nav a:hover, .mobile-nav button:hover { background: rgba(0,0,0,0.04); }
.mobile-nav .mob-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-nav .mob-primary {
  background: var(--text);
  color: #fff;
  text-align: center;
  border-radius: 14px;
  font-weight: 600;
  margin-top: 4px;
  padding: 14px;
}
.mobile-nav .mob-outline {
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 14px;
  font-weight: 600;
  padding: 14px;
}

/* ----- < 1024px: show hamburger, hide desktop header buttons ----- */
@media (max-width: 1023px) {
  .hamburger { display: flex; }
  .head-action-group { display: none !important; }
}

/* ----- < 640px: mobile ----- */
@media (max-width: 639px) {
  .container { padding: 0 16px; }
  .head-inner { min-height: 64px; height: auto; padding: 15px 0; }
  .brand-sub { display: block; }
  .mobile-nav { top: 64px; }

  .hero { padding: 40px 0; min-height: unset; }
  h1.hero-title { font-size: 2rem; }
  .hero p { font-size: 0.95rem; margin-bottom: 20px; }
  .live-feed { font-size: 11px; padding: 10px 14px; }

  .dest-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px; }
  .dest-large { grid-column: span 2; grid-row: span 1; }

  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .hotel-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .rated-hotels-grid { grid-template-columns: 1fr; gap: 20px; }

  .faq-list { grid-template-columns: 1fr; }
  .faq-section { padding: 32px 0; }
  .faq-header { margin-bottom: 20px; }

  .steps-wrap { gap: 16px; margin-bottom: 40px; }
  .step-card { padding: 24px 18px; }
  .step-num { font-size: 2.4rem; }
  .rules-section { padding: 24px 18px; margin-bottom: 40px; }
  .cta-strip { padding: 36px 20px; }

  .mt-6 { margin-top: 28px; }

  .chat-panel { width: calc(100vw - 32px); height: 420px; max-height: 70vh; right: 0; border-radius: 24px; }
  .chat-widget { right: 16px; bottom: 24px; }
  .toasts { right: 12px; left: 12px; bottom: 16px; }
  .toast { text-align: center; }
}

/* ----- Auth pages (login, signup) ----- */
@media (max-width: 639px) {
  .auth-wrap { padding: 32px 0 48px !important; }
  .auth-card { border-radius: 24px !important; padding: 28px 20px !important; }
}

/* ----- Dashboard ----- */
@media (max-width: 767px) {
  .dash-header { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .dash-search-bar { width: 100% !important; flex-wrap: wrap; }
  .dash-search-bar input { width: 100% !important; }
}

/* ----- Two-column layouts (tasks, support) ----- */
@media (max-width: 767px) {
  .two-col { grid-template-columns: 1fr !important; }
  .sticky-panel { position: static !important; top: auto !important; }
  .support-chat { height: 420px !important; }
}

/* ----- Account table ----- */
@media (max-width: 639px) {
  .ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; }
  .ledger-wrap table { min-width: 480px; }
}

/* ----- Tablet: 640–1023px ----- */
@media (min-width: 640px) and (max-width: 1023px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0; min-height: unset; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 200px 200px; }
  .dest-large { grid-column: span 2; grid-row: span 1; }
  .kpi-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .hotel-grid { grid-template-columns: repeat(2, 1fr); }
  .rated-hotels-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr !important; }
  .sticky-panel { position: static !important; }
  .faq-list { grid-template-columns: 1fr 1fr; }
  .dash-header { flex-wrap: wrap; gap: 16px; }
  .steps-wrap { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
