/* ============================================================
   EazzyLiving — Premium Student Accommodation Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');


:root {
  /* Typography */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Core Colors */
  --ink: #111827;
  /* Dark gray text */
  --ink-secondary: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-light: #f3f4f6;
  --primary: #16a34a;
  /* Modern Green */
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --gold: #22c55e;
  --gold-light: #dcfce7;
  --amber: #16a34a;
  --surface: #ffffff;
  --soft: #f9fafb;

  /* Semantic Colors */
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --error: #ef4444;
  --error-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 36, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 36, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 36, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 23, 36, 0.16);

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Transitions */
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: #ffffff;
  /* White background */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  z-index: 100;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(15, 23, 36, 0.08);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1200px, calc(100% - 48px));
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-logo {
  width: 44px;
  height: 44px;
  padding: 3px;
  object-fit: contain;
  background: #ffffff;
  border: 1.5px solid rgba(79, 70, 229, 0.3);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
  transition: transform var(--transition);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.nav-links a {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--ink-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  transition: background var(--transition), color var(--transition);
}

.nav-links a.is-active,
.nav-links a:hover {
  color: #fff;
  background: var(--primary);
}

.account-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== USER DROPDOWN ===== */
.user-dropdown {
  position: relative;
}

.user-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.user-avatar-img {
  object-fit: cover;
}

.user-dropdown-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.user-dropdown.is-open .user-dropdown-chevron {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 6px;
  z-index: 9999;
  animation: dropdownFadeIn 0.15s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.user-dropdown-item:hover {
  background: var(--surface);
  color: var(--primary);
}

.user-dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-light);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(212, 154, 38, 0.3);
}

.btn-gold:hover {
  background: #228b22;
  transform: translateY(-1px);
}

.btn-danger {
  background: #228b22;
  color: #fff;
}

.btn-danger:hover {
  background: #228b22;
}

.btn-sm {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.75rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Cinematic Sliced Reveal */
.slice-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  /* Fallback block color during reveal */
}

.slice {
  position: relative;
  height: 25%;
  width: 100%;
  overflow: hidden;
  animation: sliceFlyIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, filter;
  transform: translateX(-100vw);
  /* Start hidden */
}

.slice video {
  position: absolute;
  width: 100vw;
  height: 400%;
  /* Scale to match 4 slices */
  object-fit: cover;
  left: 0;
}

.s1 video {
  top: 0;
}

.s2 video {
  top: -100%;
}

.s3 video {
  top: -200%;
}

.s4 video {
  top: -300%;
}

/* Alternate slice directions and staggered delays */
.s1 {
  transform: translateX(-100vw);
  animation-delay: 0.1s;
}

.s2 {
  transform: translateX(100vw);
  animation-delay: 0.2s;
}

.s3 {
  transform: translateX(-100vw);
  animation-delay: 0.3s;
}

.s4 {
  transform: translateX(100vw);
  animation-delay: 0.4s;
}

@keyframes sliceFlyIn {
  0% {
    filter: blur(16px);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    filter: blur(0px);
    opacity: 1;
  }
}


.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(6, 39, 30, 0.85) 0%, rgba(6, 39, 30, 0.45) 50%, rgba(15, 23, 36, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 80px;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-copy {
  max-width: 600px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

/* Amber-Inspired Hero */
.amber-hero {
  min-height: 78vh;
  align-items: center;
}

.hero-centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.1s;
}

/* ---------- ACCESSIBILITY ---------- */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- TYPOGRAPHY & ELEMENTS ---------- */
.hero-centered h1 {
  max-width: 920px;
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.25s;
}

.hero-centered .hero-copy {
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.4s;
}

.trust-row {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.55s;
}

.hero-search {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.65s;
}

.popular-searches {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.75s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.trust-row span {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero-search {
  width: min(700px, 100%);
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(30, 41, 59, 0.92);
  border-radius: 999px;
  padding: 8px 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(12, 74, 59, 0.16);
  backdrop-filter: blur(8px);
}

.hero-search input {
  flex: 1;
  min-height: 48px;
  border: none;
  background: transparent;
  color: var(--ink);
  padding: 0 16px;
  font-size: 0.95rem;
  outline: none;
}

.hero-search input::placeholder {
  color: var(--muted);
}

.btn-search {
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
  background: #228b22;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
  flex-shrink: 0;
}

.btn-search:hover {
  background: #228b22;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
}

/* ===== PROMO STRIP ===== */
.promo-strip {
  width: 100%;
  margin: -30px 0 0;
  position: relative;
  z-index: 6;
  padding: 0;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.promo-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 14px 18px;
  animation: promo-scroll 18s linear infinite;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.9);
  color: var(--ink-secondary);
  box-shadow: 0 2px 8px rgba(15, 23, 36, 0.05);
  white-space: nowrap;
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-item strong {
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.promo-strip:hover .promo-track {
  animation-play-state: paused;
}

.promo-strip::before,
.promo-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.promo-strip::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), transparent);
}

.promo-strip::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 0.92), transparent);
}

.listing-gallery .price-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(12, 74, 59, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 900;
}

/* ===== CONTENT SECTIONS ===== */
.content-band,
.split-section,
.page-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: var(--space-3xl) 0 0;
}

.section-heading,
.page-heading {
  max-width: 700px;
  margin-bottom: 28px;
}

.section-heading>p:last-child {
  color: var(--muted);
  margin: 0;
}

.section-heading h2,
.page-heading h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.page-heading h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  width: min(1200px, calc(100% - 48px));
  margin: -8px auto 0;
  position: relative;
  z-index: 7;
  background-image: url(assets/couple.jpg);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 39, 30, 0.55);
}

.stats-grid {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 16px;
}

.stats-grid article {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  min-width: 150px;
  flex: 1 1 150px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.stats-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  line-height: 1.1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ===== POPULAR CITIES — two-row horizontal scroll ===== */
.cities-layout {
  display: block;
  width: 100%;
}

.city-grid {
  display: grid;
  grid-template-rows: repeat(2, 180px);
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 16px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 5px 18px;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.city-grid::-webkit-scrollbar {
  display: none;
}

.amber-city-tile {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}

.amber-city-tile .city-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.amber-city-tile .city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.amber-city-tile .city-name {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 2;
  text-align: center;
}

.amber-city-tile:hover .city-image {
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .city-grid {
    grid-template-rows: repeat(2, 160px);
    grid-auto-columns: 160px;
    gap: 14px;
  }

  .amber-city-tile {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 600px) {
  .city-grid {
    grid-template-rows: repeat(2, 135px);
    grid-auto-columns: 135px;
    gap: 10px;
  }

  .amber-city-tile {
    width: 135px;
    height: 135px;
  }
}

/* ===== LOCATION TABS — horizontal scrollable city filter buttons ===== */
.location-tabs-wrapper {
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
}

.location-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.location-tabs::-webkit-scrollbar {
  display: none;
}

.location-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  background: #1f7a4d;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease;
}

.location-tab:hover {
  background: #17633e;
}

.location-tab.is-active {
  background: #14532d;
}

.location-tab-text,
.location-tab-count {
  color: #ffffff;
  white-space: nowrap;
}

.location-tab-text {
  font-weight: 700;
}

.location-tab-count {
  font-weight: 600;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .location-tab {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}


/* ===== COUNTRY TABS ===== */
.country-tabs-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  width: 148px;
  overflow: visible;
  padding: 4px 0;
  gap: 0;
}

.country-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: stretch;
}

.country-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.country-tab:hover {
  border-color: rgba(34, 139, 34, 0.4);
  background: rgba(34, 139, 34, 0.08);
  color: var(--ink);
}

.country-tab.is-active {
  border-color: #10b981;
  background: #228b22;
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 139, 34, 0.25);
}

.country-tab-flag {
  font-size: 1.2rem;
  line-height: 1;
}

.country-tab-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.country-dropdown-wrapper.is-open .country-tab-chevron {
  transform: rotate(180deg);
}

.country-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.country-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  margin-top: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 9999;
  min-width: 170px;
  overflow: hidden;
  padding: 6px;
}

.country-dropdown-wrapper.is-open .country-dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.18s ease;
}

.country-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  border-radius: 8px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  gap: 8px;
}

.country-dropdown-item:hover {
  background: #f0fdf4;
  color: #16a34a;
}

.country-dropdown-item.is-active {
  background: #dcfce7;
  color: #16a34a;
}

/* ===== LISTING GRID & CARDS ===== */
/* Featured section: city filters stacked above the grid */
.featured-layout {
  display: block;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.listing-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.listing-card .listing-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--line-light);
}

/* ===== CARD CAROUSEL ===== */
.card-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card-carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.card-carousel-slide img,
.card-carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dots */
.card-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.carousel-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  color: #111;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  padding: 0;
}

.carousel-arrow:hover {
  background: #fff;
}

.listing-card:hover .carousel-arrow {
  opacity: 1;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }


.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(12, 74, 59, 0.3);
}

.exclusivity-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(212, 154, 38, 0.4);
}

.media-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 36, 0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.listing-body {
  display: grid;
  gap: 10px;
  padding: 18px 18px 20px;
}

.listing-body .price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
}

.listing-body strong {
  font-size: 1rem;
  color: var(--ink);
  display: block;
  line-height: 1.3;
}

.card-title {
  font-size: 1rem;
}

.card-subtitle {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.listing-card-footer {
  padding: 0 18px 18px;
}

.listing-card-footer .btn {
  width: 100%;
  justify-content: center;
}

.listing-meta {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  display: none;
}

.listing-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.listing-address {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  display: none;
}

.listing-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  display: none;
}

.listing-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line-light);
}

.listing-card-link {
  display: block;
  flex: 1;
}

.listing-card-footer {
  padding-top: 0;
  padding: 0 12px 12px;
}

.listing-summary {
  padding-bottom: 0;
}

/* ===== EXCLUSIVE LISTINGS ===== */
.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.exclusive-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.6);
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.exclusive-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 154, 38, 0.12);
  border-color: #10b981;
}

.exclusive-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-dark);
}

.exclusive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.exclusive-card:hover .exclusive-card-image img {
  transform: scale(1.05);
}

.exclusive-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  background: #1e293b;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #10b981;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
}

.exclusive-heart {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(30, 41, 59, 0.96);
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.exclusive-heart:hover {
  background: #1e293b;
  transform: scale(1.06);
}

.exclusive-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: capitalize;
  letter-spacing: 0.04em;
}

.exclusive-info {
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  flex: 1;
  display: grid;
  gap: 8px;
}

.exclusive-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.exclusive-location {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.exclusive-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

/* ===== LISTING GALLERY ===== */
.listing-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: var(--line);
}

.listing-gallery.is-grid {
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.gallery-tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--line-light);
}

.gallery-tile-main {
  grid-row: span 2;
}

.gallery-tile img,
.gallery-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-tile video {
  background: #ffffff;
}

.play-badge,
.gallery-extra {
  position: absolute;
  inset: auto 8px 8px auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 36, 0.82);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.gallery-extra {
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: rgba(6, 39, 30, 0.68);
  font-size: 0.95rem;
}

/* ===== MAP PREVIEW ===== */
.map-preview {
  position: relative;
  display: block;
  height: 116px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.map-preview span {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.94);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.map-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.9) contrast(1.05);
}

/* ===== LISTING DETAIL ===== */
.listing-detail-shell {
  padding-bottom: 80px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.detail-gallery {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.detail-media-track,
.detail-media {
  width: 100%;
  height: 100%;
}

.detail-media {
  display: none;
  margin: 0;
  min-height: 440px;
}

.detail-media.is-active {
  display: block;
}

.detail-media,
.detail-media img,
.detail-media video,
.detail-gallery {
  clip-path: none !important;
  opacity: 1 !important;
}

.detail-media img,
.detail-media video {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.92);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-50%);
}

.gallery-nav.prev {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 36, 0.84);
  color: #fff;
  font-weight: 800;
}

.detail-booking-panel,
.detail-overview,
.comments-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-booking-panel {
  position: sticky;
  top: 92px;
}

.detail-booking-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.detail-booking-panel .price {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 900;
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  margin-top: 24px;
}

.detail-overview h2,
.comments-panel h2 {
  margin-top: 0;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.overview-stats span {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--soft);
  color: var(--muted);
  font-size: 0.82rem;
}

.overview-stats strong {
  color: var(--ink);
  font-size: 1rem;
}

.detail-highlights {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.detail-highlights div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 246, 233, 0.9);
  border: 1px solid rgba(252, 209, 101, 0.3);
}

.detail-highlights strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.98rem;
}

.detail-highlights p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.info-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-light);
  background: var(--surface);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-amenities,
.detail-features {
  margin: 28px 0 0;
}

.detail-amenities h3,
.detail-features h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--ink);
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.amenities-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  border: 1px solid var(--line-light);
}

.detail-features ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: disc;
}

.detail-features li {
  color: var(--muted);
  line-height: 1.7;
}

.detail-panel-copy {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(248, 243, 236, 0.9);
  border: 1px solid rgba(252, 209, 101, 0.32);
  color: var(--ink-secondary);
}

.detail-address {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.detail-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--line-light);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.detail-map {
  height: 260px;
}

.detail-related {
  margin-top: 48px;
}

.related-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

.related-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-card-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.related-card-body .eyebrow {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
}

.related-card-body strong {
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
}

.related-card-body p {
  margin: 0;
  color: var(--muted);
}

.related-card-body .btn {
  width: fit-content;
}

.comments-panel form {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.comments-panel label {
  display: grid;
  gap: 6px;
  color: var(--ink-secondary);
  font-weight: 700;
  font-size: 0.86rem;
}

.comments-panel input,
.comments-panel textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.comment-list {
  display: grid;
  gap: 10px;
}

.comment-item {
  padding: 14px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--soft);
}

.comment-item p {
  margin: 6px 0;
}

.comment-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.comment-stars {
  color: #f59e0b !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
}

/* ===== CITY PROPERTY BAND ===== */
.city-property-band {
  display: grid;
  gap: 18px;
  padding-top: 32px;
}

.home-property-controls {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.city-filter-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.city-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-weight: 700;
  transition: all var(--transition);
  width: 100%;
  text-align: left;
}

.city-filter-btn span {
  display: inline-flex;
  min-width: 28px;
  justify-content: center;
  padding: 4px 8px;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.city-filter-btn.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.city-filter-btn.is-active span {
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
}

.home-property-list {
  display: grid;
  gap: 14px;
}

.home-listing-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.home-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.home-listing-link {
  display: contents;
}

.home-card-image {
  min-height: 110px;
  width: 110px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-card-info {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
}

.home-card-info .price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
}

.home-card-info strong {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.25;
}

.home-card-info span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.empty-state {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 18px;
}

/* ===== SUPPORT BAND ===== */
.support-band {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  margin: 80px auto 0;
  padding: 44px;
  border-radius: var(--radius-lg);
  background-image: url(assets/couple.jpg);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.support-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 39, 30, 0.7);
  pointer-events: none;
}

.support-band>* {
  position: relative;
  z-index: 1;
}

.support-band .section-heading h2 {
  color: var(--ink);
}

.support-band .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid strong {
  color: #fff;
}

.feature-grid span {
  color: rgba(255, 255, 255, 0.72);
}

/* ===== FAQ Accordion ===== */
.faq-band {
  padding-top: 36px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq-list details {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  backdrop-filter: blur(12px);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-body {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== BENEFITS / BOOKING SECTION ===== */
.benefits-band {
  width: min(1200px, calc(100% - 48px));
  margin: 48px auto 0;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.benefit-item {
  position: relative;
  display: grid;
  gap: 10px;
  align-items: start;
  text-align: left;
  padding: 24px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  color: #fff;
  overflow: hidden;
}

.benefit-item h3,
.benefit-item1 h3,
.benefit-item2 h3,
.benefit-item3 h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 800;
}

.benefit-item p,
.benefit-item1 p,
.benefit-item2 p,
.benefit-item3 p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .cities-layout {
    flex-direction: column;
  }

  .country-tabs-wrapper {
    width: 100%;
  }

  .country-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .country-dropdown-menu {
    left: 0;
    right: auto;
  }

  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    text-align: left;
  }

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

  .country-tab {
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  .country-tabs-wrapper {
    margin-bottom: 18px;
  }
}

/* ===== SPLIT SECTION ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
  padding-bottom: 80px;
}

.split-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.split-section p {
  color: var(--muted);
  line-height: 1.7;
}

.panel-list {
  display: grid;
  gap: 12px;
}

.panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 700;
  transition: all var(--transition);
}

.panel-link::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.panel-link:hover {
  border-color: var(--gold);
  background: var(--gold-light);
}

.panel-link:hover::after {
  transform: translateX(4px);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-bar input,
.filter-bar select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.88rem;
  min-height: 44px;
  outline: none;
  transition: border-color var(--transition);
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12, 74, 59, 0.1);
}

.filter-bar input {
  flex: 1;
  min-width: 200px;
}

.filter-bar select {
  min-width: 150px;
}

.filter-bar .btn {
  flex-shrink: 0;
}

/* Exclusive Offers Banner */
.exclusive-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(212, 154, 38, 0.12) 0%, rgba(212, 154, 38, 0.06) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
}

.exclusive-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.exclusive-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.exclusive-text {
  display: grid;
  gap: 2px;
}

.exclusive-text strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.exclusive-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.exclusive-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.exclusive-close:hover {
  background: var(--gold);
  color: #fff;
}

/* ===== FORMS ===== */
.admin-form,
.auth-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admin-form label,
.auth-form label,
.modal-panel label {
  display: grid;
  gap: 6px;
  color: var(--ink-secondary);
  font-weight: 600;
  font-size: 0.85rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.auth-form input,
.auth-form select,
.auth-form textarea,
.modal-panel input,
.modal-panel select,
.modal-panel textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
.modal-panel input:focus,
.modal-panel select:focus,
.modal-panel textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12, 74, 59, 0.1);
}

.admin-form textarea,
.auth-form textarea,
.modal-panel textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== ADMIN LAYOUT ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 68px);
}

.admin-sidebar {
  position: sticky;
  top: 68px;
  align-self: start;
  min-height: calc(100vh - 68px);
  padding: 32px 24px;
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0a2f24 100%);
  color: #fff;
}

.admin-sidebar h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.admin-sidebar .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.admin-sidebar nav {
  margin-top: 28px;
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-sidebar nav a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

.admin-main {
  display: grid;
  gap: 24px;
  padding: 32px 36px;
  background: var(--soft);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 68px);
  padding: 40px 24px;
  background: var(--soft);
}

.admin-login-panel {
  width: min(480px, 100%);
}

.admin-login-panel h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

/* ===== DASHBOARD CARDS & STATS ===== */
.dashboard-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dashboard-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
}

/* ===== PROFILE PANEL ===== */
.profile-card {
  padding: 0;
  overflow: hidden;
}

.profile-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
}

.profile-avatar,
.profile-avatar-fallback {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.profile-avatar {
  object-fit: cover;
}

.profile-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
}

.profile-avatar-edit {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}

.profile-avatar-edit:hover {
  transform: scale(1.08);
}

.profile-banner-info h2 {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.profile-location {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.profile-card .auth-form,
.profile-card > h3,
.profile-card > [data-account-signout],
.profile-card > [data-profile-avatar-remove] {
  margin-left: 28px;
  margin-right: 28px;
}

.profile-card > [data-profile-avatar-remove] {
  margin-top: 20px;
}

.profile-card form[data-profile-form] {
  margin-top: 20px;
}

.profile-card > h3:first-of-type {
  margin-top: 28px;
}

.profile-card > [data-account-signout] {
  margin-bottom: 28px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold);
  transition: border-color var(--transition);
}

.stat-card:hover {
  border-top-color: var(--primary);
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.stat-card .stat-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== TABLES ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  vertical-align: middle;
  font-size: 0.88rem;
}

th {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--line-light);
}

/* ===== INBOX / ACTIVITY ===== */
.inbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.activity-item:hover {
  border-color: var(--gold);
}

.activity-item strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 4px;
}

.activity-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.activity-item p {
  margin: 6px 0 0;
  color: var(--ink-secondary);
  font-size: 0.88rem;
}

.empty-state {
  padding: 32px 20px;
  text-align: center;
  background: var(--soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-weight: 600;
}

/* ===== TWO COLUMN ===== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 36, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 150ms ease;
}

.modal[hidden] {
  display: none;
}

[hidden] {
  display: none !important;
}

.modal-panel {
  position: relative;
  width: min(480px, 100%);
  padding: 32px;
  background: #1e293b;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: slideUp 200ms ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-panel form {
  display: grid;
  gap: 16px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.modal-close:hover {
  border-color: var(--muted);
  background: var(--soft);
}

/* Property Details Overlay */
.property-details-modal {
  width: min(800px, 100%);
  max-height: 85vh;
  overflow-y: auto;
}

.property-details-modal .modal-panel {
  padding: 0;
  border-radius: var(--radius-lg);
}

.modal-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 16px;
  width: 100%;
}

.modal-gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-light);
}

.modal-gallery-item img,
.modal-gallery-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.modal-gallery-item video {
  min-height: 200px;
}

.gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.property-header-section {
  position: relative;
  top: 0;
  z-index: 1;
  background: var(--primary-dark);
  color: #fff;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-grid;
  align-items: center;
  justify-content: space-between;
}

.property-header-section h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.property-details-content {
  padding: 32px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--line-light);
  transition: all var(--transition);
}

.amenity-item:hover {
  background: var(--gold-light);
}

.amenity-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.amenity-text {
  display: grid;
  gap: 2px;
}

.amenity-text strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.amenity-text span {
  font-size: 0.8rem;
  color: var(--muted);
}

.expandable-section {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 20px 0;
}

.expandable-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  border: none;
  width: 100%;
  transition: all var(--transition);
}

.expandable-trigger:hover {
  background: var(--line-light);
}

.expandable-trigger.is-open {
  background: var(--primary-light);
  color: var(--primary);
}

.expandable-trigger::after {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(-45deg);
  transition: transform var(--transition);
}

.expandable-trigger.is-open::after {
  transform: rotate(45deg);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.expandable-content.is-open {
  max-height: 1000px;
}

.expandable-body {
  padding: 16px;
  background: var(--surface);
}


/* ===== TOAST ===== */
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: min(380px, calc(100% - 48px));
  padding: 16px 20px;
  color: #fff;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== FLOATING ICONS ===== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 196;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 0;
}

.whatsapp-float span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  animation: wa-pulse 2.4s ease-in-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* AI Assistant */
.faq-assistant {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 195;
}

.faq-toggle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #0c4a3b;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.faq-toggle img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 0;
}

.faq-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.faq-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xl);
}

.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: var(--primary-dark);
  color: #fff;
}

.faq-head span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.faq-head strong {
  display: block;
}

.faq-close {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.2rem;
}

.faq-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  padding: 16px;
  overflow-y: auto;
  background: var(--soft);
}

.assistant-msg,
.user-msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  line-height: 1.45;
}

.assistant-msg {
  justify-self: start;
  background: #1e293b;
  border: 1px solid var(--line);
  color: var(--ink-secondary);
}

.user-msg {
  justify-self: end;
  background: var(--primary);
  color: #fff;
}

.faq-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.faq-form input {
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

/* ===== TESTIMONIALS ===== */
.testimonials-band {
  overflow: hidden;
  padding-bottom: 40px;
}

.testimonials-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonial-scroll 24s linear infinite;
  padding: 10px 24px;
}

.testimonials-carousel:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: 340px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  white-space: normal;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-author strong {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--muted);
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 12px));
  }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  width: min(1200px, calc(100% - 48px));
  margin: 80px auto 40px;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(12, 74, 59, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin: 0 0 16px;
  color: #fff;
}

.cta-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions .btn-primary {
  background: #1e293b;
  color: var(--primary-dark);
}

.cta-actions .btn-primary:hover {
  background: var(--gold-light);
  color: var(--primary-dark);
}

.cta-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff !important;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 80px;
  padding: 40px 24px 48px;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-meta {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.74) !important;
}

.admin-footer {
  margin-top: 0;
}

/* ===== CONTENT EDITOR ===== */
.content-editor {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}

.editor-tab {
  background: none;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition), border-color var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -14px;
}

.editor-tab:hover {
  color: var(--ink);
}

.editor-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.editor-content {
  display: grid;
  gap: 20px;
}

.editor-panel {
  display: none;
}

.editor-panel.active {
  display: block;
  animation: fadeIn var(--transition);
}

.editor-panel h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.editor-panel form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editor-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.editor-panel input,
.editor-panel textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
}

.editor-panel input:focus,
.editor-panel textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(12, 74, 59, 0.1);
}

.editor-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  padding: 12px;
  background: var(--soft);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.editor-item input,
.editor-item textarea {
  width: 100%;
  grid-column: 1 / -1;
}

.editor-item input:first-child {
  grid-column: 1;
  width: auto;
  flex: 1;
}

.editor-item button {
  grid-column: 2;
  align-self: start;
}

.btn-secondary {
  background: var(--line);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
}

.btn-secondary:hover {
  background: var(--ink);
  color: white;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .split-section,
  .two-column,
  .detail-hero,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-main {
    padding: 24px 20px;
  }

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

  .detail-booking-panel {
    position: static;
  }

  .detail-actions .btn {
    min-height: 44px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .listing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-shell {
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 20px 22px;
    background: #1e293b;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    width: auto;
    /* Animation setup */
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-slow);
    z-index: 100;
  }

  .nav-links a {
    width: 100%;
    text-align: left;
  }

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

  /* Overlay */
  body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(15, 23, 36, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    opacity: 1;
    pointer-events: auto;
  }

  .account-links {
    margin-left: unset;
  }

  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-search {
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 6px;
    width: min(100%, calc(100vw - 24px));
  }

  .hero-search input {
    min-height: 40px;
    padding: 0 12px;
  }

  .btn-search {
    min-height: 40px;
    min-width: 40px;
  }

  /* Popular searches chips */
  .popular-searches {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .chip {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    cursor: pointer;
    font-weight: 700;
  }

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

  /* Partner logos */
  .partner-logos {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
  }

  .partner-logos img {
    height: 36px;
    opacity: 0.9;
    filter: grayscale(30%);
  }

  /* Price overlay on listing images for busier look */
  .listing-gallery .price-overlay {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(12, 74, 59, 0.9);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 900;
  }

  .promo-strip,
  .city-property-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .listing-actions .btn {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    width: calc(100% - 28px);
    min-height: 64px;
  }

  .brand span:last-child {
    display: none;
  }

  .account-links .btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .nav-links {
    top: 64px;
  }

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

  .listing-actions {
    flex-direction: column;
  }

  .listing-actions .btn {
    width: 100%;
  }

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

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 40px 0 60px;
  }

  .hero-search {
    padding: 10px;
  }

  .filter-bar {
    flex-direction: column;
  }

  .filter-bar input,
  .filter-bar select {
    min-width: auto;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .content-band,
  .split-section,
  .page-shell {
    width: calc(100% - 28px);
    padding: 48px 0 0;
  }

  .admin-main {
    padding: 16px;
  }

  .admin-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-form,
  .auth-form {
    padding: 20px;
  }

  .two-column {
    padding-bottom: 48px;
  }

  .dashboard-card {
    padding: 20px;
  }

  .stat-grid {
    grid-template-columns: 1fr !important;
  }

  .site-footer {
    margin-top: 48px;
  }

  .toast {
    right: 14px;
    bottom: 16px;
    max-width: calc(100% - 28px);
  }

  .whatsapp-float {
    right: 14px;
    bottom: 96px;
    width: 52px;
    height: 52px;
  }

  .faq-assistant {
    right: 14px;
    bottom: 84px;
  }

  .faq-toggle {
    min-width: 52px;
    width: 52px;
  }

  .promo-strip,
  .support-band {
    width: calc(100% - 28px);
  }

  .support-band {
    margin-top: 48px;
    padding: 24px;
  }

  .feature-grid,
  .overview-stats {
    grid-template-columns: 1fr;
  }

  .detail-gallery,
  .detail-media,
  .detail-media img,
  .detail-media video {
    min-height: 300px;
  }

  .testimonial-band {
    width: calc(100% - 28px);
    padding-top: 48px;
  }

  .listing-gallery.is-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-tile-main {
    grid-column: span 2;
    grid-row: span 1;
  }

  .listing-actions .btn {
    padding: 6px 8px;
    font-size: 0.7rem;
  }
}

/* Skeleton Loading State */
.skeleton {
  background: #e2e8f0;
  background: linear-gradient(90deg, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: var(--radius-sm);
  color: transparent !important;
}

.skeleton * {
  visibility: hidden;
}

@keyframes skeletonLoading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ======================================================
   CINEMATIC ANIMATIONS SYSTEM
   ====================================================== */

/* 1. SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), #228b22, var(--primary));
  background-size: 300% 100%;
  animation: gradientShift 3s ease infinite;
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 154, 38, 0.6);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* 2. SCROLL-TRIGGERED REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-60px);
}

.reveal.reveal-right {
  transform: translateX(60px);
}

.reveal.reveal-scale {
  transform: scale(0.85);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered children */
.reveal-stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.33s;
}

.reveal-stagger.is-visible>*:nth-child(6) {
  transition-delay: 0.40s;
}

.reveal-stagger.is-visible>*:nth-child(7) {
  transition-delay: 0.47s;
}

.reveal-stagger.is-visible>*:nth-child(8) {
  transition-delay: 0.54s;
}

.reveal-stagger.is-visible>*:nth-child(9) {
  transition-delay: 0.61s;
}

.reveal-stagger.is-visible>*:nth-child(10) {
  transition-delay: 0.68s;
}

.reveal-stagger.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* 3. 3D TILT CARD EFFECT */
.tilt-card {
  perspective: 800px;
  transform-style: preserve-3d;
}

.tilt-card-inner {
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}

.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%),
      rgba(255, 255, 255, 0.15) 0%,
      transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tilt-card:hover .tilt-shine {
  opacity: 1;
}

/* 4. ANIMATED GRADIENT MESH BACKGROUND */
.gradient-mesh {
  position: relative;
  overflow: hidden;
}

.gradient-mesh::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 74, 59, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: meshFloat1 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.gradient-mesh::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 154, 38, 0.06) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: meshFloat2 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes meshFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, 60px) scale(1.1);
  }

  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

@keyframes meshFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-50px, -40px) scale(1.15);
  }

  66% {
    transform: translate(30px, -20px) scale(0.9);
  }
}

/* 5. HERO PARALLAX & FLOATING PARTICLES */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  animation: particleFloat linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-duration: 14s;
  animation-delay: 0s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(2) {
  left: 25%;
  animation-duration: 18s;
  animation-delay: 2s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(3) {
  left: 40%;
  animation-duration: 12s;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  left: 55%;
  animation-duration: 20s;
  animation-delay: 1s;
  width: 6px;
  height: 6px;
}

.particle:nth-child(5) {
  left: 70%;
  animation-duration: 16s;
  animation-delay: 3s;
  width: 3px;
  height: 3px;
}

.particle:nth-child(6) {
  left: 85%;
  animation-duration: 22s;
  animation-delay: 5s;
}

.particle:nth-child(7) {
  left: 15%;
  animation-duration: 19s;
  animation-delay: 7s;
  width: 5px;
  height: 5px;
}

.particle:nth-child(8) {
  left: 60%;
  animation-duration: 15s;
  animation-delay: 6s;
  width: 3px;
  height: 3px;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

/* 6. MAGNETIC BUTTON EFFECT */
.btn-magnetic {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 7. TEXT SPLIT REVEAL */
.text-reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) rotateX(-10deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-reveal-active .text-reveal-word {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

/* 8. RIPPLE CLICK EFFECT */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  0% {
    transform: scale(0);
    opacity: 1;
  }

  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* 9. GLOWING NEON CARD BORDERS ON HOVER */
.glow-border {
  position: relative;
  z-index: 1;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--glow-angle, 0deg),
      var(--primary),
      var(--gold),
      #228b22,
      var(--primary),
      var(--gold),
      var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: glowRotate 3s linear infinite;
}

.glow-border:hover::before {
  opacity: 1;
}

.glow-border:hover {
  box-shadow: 0 0 20px rgba(12, 74, 59, 0.15),
    0 0 40px rgba(212, 154, 38, 0.08);
}

@keyframes glowRotate {
  0% {
    --glow-angle: 0deg;
  }

  100% {
    --glow-angle: 360deg;
  }
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 10. IMAGE CLIP-PATH REVEAL */
.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.clip-reveal.is-visible {
  clip-path: inset(0 0 0 0);
}

.clip-reveal-diagonal {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.clip-reveal-diagonal.is-visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Enhance existing cards with glow on hover */
.listing-card,
.exclusive-card,
.city-card,
.testimonial-card {
  position: relative;
  z-index: 1;
}

.listing-card::before,
.exclusive-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--glow-angle, 0deg),
      var(--primary),
      var(--gold),
      #228b22,
      var(--primary),
      var(--gold),
      var(--primary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: glowRotate 3s linear infinite;
}

.listing-card:hover::before,
.exclusive-card:hover::before,
.testimonial-card:hover::before {
  opacity: 1;
}

/* Apply gradient mesh to content bands */
.content-band,
.benefits-band,
.testimonials-band {
  position: relative;
  overflow: hidden;
}

.content-band>*,
.benefits-band>*,
.testimonials-band>* {
  position: relative;
  z-index: 1;
}

/* CTA Banner hover lift */
.cta-banner {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cta-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(12, 74, 59, 0.35);
}

/* ======================================================
   CINEMATIC LISTING DETAILS EXTENSION
   ====================================================== */

/* 11. IMMERSIVE HERO & KEN BURNS */
/* 12. CURSOR SPOTLIGHT CARDS */
.spotlight-card,
.info-card {
  position: relative;
  overflow: hidden;
  background: var(--surface) !important;
  /* ensures background allows hover */
  z-index: 1;
}

.spotlight-card::before,
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(212, 154, 38, 0.1),
      transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  pointer-events: none;
}

.spotlight-card:hover::before,
.info-card:hover::before {
  opacity: 1;
}

.spotlight-card::after,
.info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle 200px at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(212, 154, 38, 0.6),
      transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.spotlight-card:hover::after,
.info-card:hover::after {
  opacity: 1;
}

/* 13. MAP PORTAL REVEAL */
.map-portal {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-portal .map-cover {
  text-align: center;
  position: absolute;
  z-index: 1;
}

.map-portal .map-cover h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.map-portal .detail-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 0;
  clip-path: circle(var(--portal-size, 0%) at center);
  will-change: clip-path;
  /* Add smooth transition for when JS updates the variable */
  transition: clip-path 0.1s ease-out;
}

.map-portal.is-open .detail-map {
  clip-path: circle(150% at center) !important;
  transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 14. STICKY ACTION BAR */
.sticky-action-bar {
  position: fixed;
  top: -100px;
  /* hidden off top */
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 24px;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}

.sticky-action-bar.is-visible {
  top: 0;
  opacity: 1;
}

.sticky-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-bar-content h3 {
  margin: 0;
  font-size: 1.1rem;
}

.sticky-bar-content .eyebrow {
  margin: 0 0 2px;
  font-size: 0.75rem;
}

/* 15. LIGHTBOX OVERLAY */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 40px;
}

.lightbox-overlay.is-open {
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.5s ease 0.1s;
}

.lightbox-overlay.is-open .lightbox-content img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

[data-lightbox] {
  cursor: zoom-in;
}

/* Loading Spinner */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.spinner-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--soft);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Amber Search Animation */
.search-input-wrapper {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
  font-size: 1.1rem;
  color: var(--muted);
  pointer-events: none;
}

.amber-search input {
  padding-left: 180px;
  /* Make room for wrapper */
}

.amber-search input:focus~.search-input-wrapper,
.amber-search input:not(:placeholder-shown)~.search-input-wrapper {
  opacity: 0;
}

.search-animated-words {
  display: flex;
  flex-direction: column;
  height: 1.5em;
  overflow: hidden;
}

.search-animated-words span {
  animation: slideWords 6s infinite;
  color: var(--ink);
  font-weight: 600;
}

@keyframes slideWords {

  0%,
  25% {
    transform: translateY(0);
  }

  33%,
  58% {
    transform: translateY(-100%);
  }

  66%,
  91% {
    transform: translateY(-200%);
  }

  100% {
    transform: translateY(0);
  }
}

/* Amber Stats Bar */
.stats-strip {
  background: transparent;
  padding: 0;
}

.stats-strip::before {
  display: none;
}

.stats-grid.amber-stats {
  padding: 0;
  gap: 20px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.amber-stats article {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
}

.amber-stats .stat-pink {
  background: linear-gradient(135deg, #fff0f2, #fff);
  color: var(--primary);
}

.amber-stats .stat-green {
  background: linear-gradient(135deg, #e6fcf5, #fff);
  color: var(--success);
}

.amber-stats svg {
  flex-shrink: 0;
}

.amber-stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.amber-stats strong {
  color: var(--ink);
  font-size: 1.4rem;
}

.amber-stats span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Updated City Cards for Light Mode */
.city-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.city-card-body {
  background: #fff;
}

.city-card strong {
  color: var(--ink);
}

/* Updated Benefits Cards */
.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  padding: 15px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.benefit-card h3 {
  color: var(--ink);
}

/* Footer Links */
.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--primary);
}

.social-links a {
  color: var(--muted);
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--primary);
}

/* Horizontal Property Carousel */
.listing-grid,
.exclusive-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.listing-grid::-webkit-scrollbar,
.exclusive-grid::-webkit-scrollbar {
  display: none;
}

.listing-card,
.exclusive-card {
  flex: 0 0 320px !important;
  scroll-snap-align: start;
}

/* Demarcation */
.content-band:nth-child(even) {
  background: var(--soft);
  /* Alternate background */
}

/* Tumbling Boxes Animation */
.tumble-box {
  animation: tumble-anim 4s infinite linear;
  transform-origin: center bottom;
}

.tumble-box:nth-child(even) {
  animation-delay: -2s;
  /* Offset for next-to-each-other effect */
}

@keyframes tumble-anim {
  0% {
    transform: rotate(0deg) translateY(0);
  }

  25% {
    transform: rotate(3deg) translateY(-5px);
  }

  50% {
    transform: rotate(0deg) translateY(0);
  }

  75% {
    transform: rotate(-3deg) translateY(-5px);
  }

  100% {
    transform: rotate(0deg) translateY(0);
  }
}

/* Horizontal Scroll for Curated Properties */
.property-list.horizontal-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.property-list.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.property-list.horizontal-scroll .listing-card {
  flex: 0 0 260px !important;
  scroll-snap-align: start;
}

/* Fix text sizes in smaller cards */
.listing-card h3 {
  font-size: 1rem !important;
}

.listing-meta span {
  font-size: 0.8rem !important;
}

.listing-price strong {
  font-size: 1.1rem !important;
}

/* Refined City Buttons in Hero (Chips) */
.popular-searches .chip {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 99px !important;
  font-weight: 500 !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s ease !important;
}

.popular-searches .chip:hover {
  background: #ffffff !important;
  color: var(--primary) !important;
  transform: translateY(-2px) !important;
}

/* ======================================================
   PROFESSIONAL LIGHT MODE — FINAL AUTHORITATIVE OVERRIDES
   All previous conflicting patches are replaced by this block.
   ====================================================== */

/* --- Fonts --- */
:root {
  --font-display: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- Base: White body, black text --- */
html,
body {
  background: #ffffff !important;
  color: #111111 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* --- Headings: Bold Arial Black, black --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif !important;
  font-weight: 900 !important;
  color: #000000 !important;
}

/* --- Content sections: white backgrounds --- */
.content-band,
.page-shell,
.split-section {
  background: #ffffff !important;
}

/* Subtle alternate band for every other section */
.content-band:nth-child(even) {
  background: #f7f7f7 !important;
}

/* --- Header: clean white --- */
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

/* --- Navigation links --- */
.nav-links a {
  color: #222222 !important;
}

.nav-links a.is-active,
.nav-links a:hover {
  background: #f0f0f0 !important;
  color: #000000 !important;
}

/* --- Hero: keep the photo, but darken overlay slightly for text readability --- */
.hero-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.30) 60%, rgba(0, 0, 0, 0.45) 100%) !important;
}

/* Hero text: force white so it's visible on dark photo overlay */
.hero h1,
.hero-centered h1 {
  color: #ffffff !important;
  font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif !important;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.90) !important;
}

.hero-kicker {
  color: #ffffff !important;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

/* --- Search bar --- */
.hero-search,
.amber-search {
  background: #ffffff !important;
  border: 1px solid #d0d0d0 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
}

.hero-search input {
  color: #111111 !important;
  background: transparent !important;
}

.search-animated-words span {
  color: #555555 !important;
}

/* Popular search chips in hero */
.popular-searches strong {
  color: #ffffff !important;
}

.popular-searches .chip {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 99px !important;
  font-weight: 600 !important;
  backdrop-filter: blur(8px) !important;
}

.popular-searches .chip:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

/* --- Promo strip --- */
.promo-strip {
  background: #f5f5f5 !important;
  border: 1px solid #e0e0e0 !important;
}

.promo-item {
  background: #ffffff !important;
  color: #111111 !important;
}

.promo-item strong {
  color: #111111 !important;
  text-shadow: none !important;
}

/* --- Section headings outside hero: black --- */
.section-heading h2,
.page-heading h1,
.eyebrow {
  color: #000000 !important;
}

.eyebrow {
  background: #f0f0f0 !important;
  color: #222222 !important;
}

/* --- Cards: white background, black text --- */
.listing-card,
.exclusive-card,
.city-card,
.testimonial-card,
.home-listing-card,
.dashboard-card,
.stat-card {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #e0e0e0 !important;
}

.listing-card h3,
.city-card strong,
.exclusive-title,
.testimonial-author strong {
  color: #000000 !important;
}

.listing-body .price,
.exclusive-price,
.home-card-info .price {
  color: #16a34a !important;
}

/* --- Benefit cards: clean white on white BG, dark text --- */
.benefit-item,
.benefit-item1,
.benefit-item2,
.benefit-item3 {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  border-radius: 16px !important;
  padding: 24px !important;
  overflow: hidden !important;
}

.benefit-item::before,
.benefit-item1::before,
.benefit-item2::before,
.benefit-item3::before {
  background: rgba(255, 255, 255, 0.5) !important;
}

.benefit-item h3,
.benefit-item1 h3,
.benefit-item2 h3,
.benefit-item3 h3 {
  color: #000000 !important;
  opacity: 1 !important;
  animation: none !important;
}

.benefit-item p,
.benefit-item1 p,
.benefit-item2 p,
.benefit-item3 p {
  color: #444444 !important;
  opacity: 1 !important;
  animation: none !important;
}

/* --- How it works section (support band) --- */
.support-band {
  background-image: none !important;
  background: #f5f5f5 !important;
  color: #111111 !important;
}

.support-band::before {
  background: none !important;
}

.support-band .section-heading h2 {
  color: #000000 !important;
}

.support-band .section-heading p:not(.eyebrow) {
  color: #444444 !important;
}

.feature-grid article {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
}

.feature-grid strong {
  color: #000000 !important;
}

.feature-grid span {
  color: #555555 !important;
}

.step-icon {
  background: #eee3e3 !important;
  color: #181616 !important;
  border: 1px solid #e0e0e0 !important;
}

/* --- Testimonial section --- */
.testimonial-quote {
  color: #222222 !important;
}

.testimonial-author span {
  color: #666666 !important;
}

/* --- CTA Banner: white background / black text --- */
.cta-banner {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
}

.cta-banner::before {
  display: none !important;
}

.cta-content h2 {
  color: #000000 !important;
}

.cta-content p {
  color: #000000 !important;
}

/* --- FAQ --- */
.faq-list details {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
}

.faq-list summary {
  color: #000000 !important;
}

.faq-body {
  color: #444444 !important;
}


.footer-brand {
  color: #ffffff !important;
}

.footer-col h4 {
  color: #ffffff !important;
  font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif !important;
}

.footer-col p,
.footer-meta {
  color: #aaaaaa !important;
}

.footer-col a {
  color: #aaaaaa !important;
}

.footer-col a:hover {
  color: #ffffff !important;
}

.footer-bottom p {
  color: #888888 !important;
}

/* --- Modal panel: white --- */
.modal-panel {
  background: #ffffff !important;
  color: #111111 !important;
}

.modal-panel h2,
.modal-panel h3 {
  color: #000000 !important;
}

.property-header-section {
  background: #ffffff !important;
  color: #000000 !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

.property-header-section h2 {
  color: #000000 !important;
}

/* --- Mobile nav dropdown: white --- */
@media (max-width: 900px) {
  .nav-links {
    background: #ffffff !important;
    border-top: 1px solid #e5e5e5 !important;
  }

  .nav-links a {
    color: #111111 !important;
  }

  .nav-links a.is-active,
  .nav-links a:hover {
    background: #f0f0f0 !important;
    color: #000000 !important;
  }
}

/* --- Sticky action bar & mobile booking bar: white --- */
.sticky-action-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid #e5e5e5 !important;
}

.detail-booking-panel {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid #e5e5e5 !important;
}

.detail-booking-panel .price {
  color: #000000 !important;
}

/* --- Misc badge overlays on photos: keep dark for contrast --- */
.gallery-extra,
.gallery-counter,
.media-badge,
.play-badge {
  background: rgba(0, 0, 0, 0.72) !important;
  color: #ffffff !important;
}

/* --- Exclusive card badge (dark pill on photo) --- */
.exclusive-badge {
  background: rgba(0, 0, 0, 0.75) !important;
  color: #22c55e !important;
}

.exclusive-heart {
  background: rgba(0, 0, 0, 0.75) !important;
}

/* --- Exclusive grid sizing --- */
.exclusive-card {
  flex: 0 0 220px !important;
}

.exclusive-card-image img {
  height: 140px !important;
}

.exclusive-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  gap: 15px !important;
  padding-bottom: 20px !important;
}

.exclusive-grid::-webkit-scrollbar {
  display: none !important;
}

/* --- AI assistant / FAQ toggle --- */
.faq-toggle {
  background: #ffffff !important;
  border-color: #e0e0e0 !important;
  color: #000000 !important;
}

.faq-head {
  background: #ffffff !important;
  color: #000000 !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

.faq-head span {
  color: #555555 !important;
}

.faq-close {
  color: #000000 !important;
}

.assistant-msg {
  background: #f0f0f0 !important;
  color: #222222 !important;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Redesigned Modal Panel */
.property-details-modal {
  max-width: 800px !important;
  padding: 30px !important;
  border-radius: 16px !important;
}

.modal-close {
  background: rgba(0, 0, 0, 0.05) !important;
  color: var(--ink) !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  z-index: 100 !important;
  cursor: pointer !important;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
}

/* ======================================================
   PHASE 3 CSS — Feature 8, 9, 10
   ====================================================== */

/* ---- Compare Bar ---- */
#compare-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1.5px solid var(--primary);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 12px 28px;
  border-radius: 99px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: slideUpFade 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

#compare-bar span {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ---- Unavailable Listing Cards ---- */
.listing-card.is-unavailable {
  opacity: 0.78;
  position: relative;
}

.listing-card.is-unavailable .listing-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.22) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.listing-card.is-unavailable .price {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(0, 0, 0, 0.3);
}

.unavailable-badge {
  background: #ef4444 !important;
  color: #fff !important;
  top: auto !important;
  bottom: 10px !important;
  left: 10px !important;
  right: auto !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.04em;
}

/* ---- Notify Me Button ---- */
.btn-notify {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-notify:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

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

/* ---- Notify Me Modal ---- */
.notify-modal-panel {
  max-width: 480px !important;
  width: 92% !important;
  text-align: center;
}

.notify-modal-icon {
  font-size: 3rem;
  margin: 0 0 12px;
  animation: bellRing 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  display: inline-block;
}

@keyframes bellRing {
  0% {
    transform: rotate(0);
  }

  15% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-12deg);
  }

  45% {
    transform: rotate(10deg);
  }

  60% {
    transform: rotate(-8deg);
  }

  75% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(0);
  }
}

.notify-modal-panel h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.notify-modal-desc {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 20px;
}

.notify-form {
  text-align: left;
  display: grid;
  gap: 14px;
}

.notify-form label {
  display: grid;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.notify-form input {
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: var(--soft);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.notify-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

/* ---- Notify Success State ---- */
.notify-success {
  display: grid;
  gap: 10px;
  padding: 10px 0 0;
  text-align: center;
}

.notify-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.notify-success h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.notify-success p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- Focus Trap / Accessibility Focus Ring ---- */
/* Enhance visible focus ring for keyboard users */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.modal:focus,
.modal-panel:focus {
  outline: none;
}

/* Ensure modal background-click zone doesn't steal keyboard events */
.modal[role="dialog"] {
  /* Modals that use trapFocus get aria-modal; give them a clear accessible boundary */
  pointer-events: auto;
}

/* ---- Admin Notifications Panel ---- */
.admin-notifications-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow-y: auto;
}

.admin-notification-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--soft);
  border-left: 3px solid #f59e0b;
}

.admin-notification-item strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.admin-notification-item span {
  font-size: 0.8rem;
  color: var(--muted);
  grid-column: 1;
}

.admin-notification-item time {
  font-size: 0.75rem;
  color: var(--muted);
  grid-row: 1 / span 2;
  grid-column: 2;
  text-align: right;
}

/* ======================================================
   FOOTER CSS
   ====================================================== */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 60px 24px 40px;
  color: var(--ink-secondary);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  font-family: 'Outfit', sans-serif;
}

.footer-col a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-meta {
  font-size: 0.85rem !important;
  color: var(--muted) !important;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- Footer: white background / black text --- */
.site-footer {
  background: #ffffff !important;
  color: #000000 !important;
  border-top: 1px solid #e5e5e5 !important;
}

.footer-brand {
  color: #000000 !important;
}

.footer-col h4 {
  color: #000000 !important;
}

.footer-col p,
.footer-meta {
  color: #000000 !important;
}

.footer-col a {
  color: #000000 !important;
}

.footer-col a:hover {
  color: var(--primary) !important;
}