/* ============================================
   DAKHLA — Modern UI layer (animations & polish)
   ============================================ */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Scroll reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal="scale"] {
  transform: scale(0.96);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* —— Section headers —— */
.section-head {
  margin-bottom: var(--space-12);
}

.section-kicker {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.18), rgba(42, 157, 143, 0.12));
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--bleu-marine);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  position: relative;
}

.section-subtitle {
  color: var(--gris-texte);
}

/* —— Home: transparent header over hero —— */
body.page-home .header:not(.header-scrolled) {
  background: linear-gradient(180deg, rgba(15, 15, 30, 0.55) 0%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: transparent;
  box-shadow: none;
}

body.page-home .header:not(.header-scrolled) .nav-link,
body.page-home .header:not(.header-scrolled) .header-account-link,
body.page-home .header:not(.header-scrolled) .header-account-dropdown-toggle {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.25);
}

body.page-home .header:not(.header-scrolled) .nav-link:hover,
body.page-home .header:not(.header-scrolled) .nav-link.active {
  color: var(--or-saharien);
}

body.page-home .header:not(.header-scrolled) .header-cta {
  background: var(--or-saharien);
  color: var(--bleu-marine);
  border-color: var(--or-saharien);
}

body.page-home .header:not(.header-scrolled) .lang-switcher {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

body.page-home .header:not(.header-scrolled) .lang-switcher .lang-btn {
  color: rgba(255, 255, 255, 0.85);
}

body.page-home .header:not(.header-scrolled) .lang-switcher .lang-btn.active {
  background: var(--or-saharien);
  color: var(--bleu-marine);
}

body.page-home .header:not(.header-scrolled) .menu-toggle span {
  background: #fff;
}

/* Logo legibility on dark hero — soft white radial glow */
body.page-home .header:not(.header-scrolled) .logo {
  position: relative;
  isolation: isolate;
}

body.page-home .header:not(.header-scrolled) .logo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 180%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.28) 30%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 70%
  );
  border-radius: 50%;
}

body.page-home .header:not(.header-scrolled) .logo-icon {
  position: relative;
  z-index: 1;
}

/* —— Hero premium —— */
.hero-content {
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vert-lagon);
  box-shadow: 0 0 12px var(--vert-lagon);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-base);
}

.hero-scroll-cue:hover {
  color: var(--or-saharien);
}

.hero-scroll-cue-icon {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  position: relative;
}

.hero-scroll-cue-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--or-saharien);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

.hero-bg {
  will-change: transform;
}

.hero-overlay {
  background: linear-gradient(
    160deg,
    rgba(15, 15, 30, 0.82) 0%,
    rgba(26, 26, 46, 0.55) 45%,
    rgba(42, 157, 143, 0.25) 100%
  );
}

.search-bar.hero-search {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* —— Premium hero search filters —— */
.hero-search--premium {
  position: relative;
  z-index: 2;
  align-items: stretch;
  max-width: 920px;
  padding: 0.45rem;
  gap: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: visible;
}

.hero-search--premium.hero-search--dropdown-open {
  z-index: 60;
}

.hero-search--premium .search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.7rem 1.1rem;
  border-right: 1px solid rgba(26, 26, 46, 0.08);
  border-bottom: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hero-search--premium .search-field:first-of-type {
  border-radius: 16px 0 0 16px;
}

.hero-search--premium .search-field:hover,
.hero-search--premium .search-field:focus-within {
  background: linear-gradient(180deg, rgba(201, 169, 110, 0.1) 0%, rgba(201, 169, 110, 0.04) 100%);
}

.hero-search--premium .search-field:focus-within {
  box-shadow: inset 0 0 0 2px rgba(201, 169, 110, 0.35);
  z-index: 1;
}

.hero-search--premium .search-field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-moyen);
  line-height: 1;
}

.hero-search--premium .search-field-label svg {
  flex-shrink: 0;
  color: var(--or-saharien);
  opacity: 0.95;
}

.hero-search--premium .search-field-control {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 1.75rem;
}

.hero-search--premium .search-select,
.hero-search--premium .search-input {
  width: 100%;
  margin: 0;
  padding: 0.1rem 2rem 0.1rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-corps);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bleu-marine);
  line-height: 1.35;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Custom select dropdown (hero filters) */
.hero-search--premium .search-field-control {
  overflow: visible;
}

.hero-search--premium .custom-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-search--premium .search-field--select.is-open {
  z-index: 20;
}

.hero-search--premium .custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-search--premium .custom-select-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 1.75rem;
  margin: 0;
  padding: 0.1rem 2rem 0.1rem 0;
  border: 0;
  background: transparent;
  font-family: var(--font-corps);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bleu-marine);
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.hero-search--premium .custom-select-value.is-placeholder {
  color: var(--gris-moyen);
  font-weight: 500;
}

.hero-search--premium .custom-select-dropdown {
  display: none;
}

.hero-search--premium .custom-select-dropdown:not([hidden]) {
  display: block;
}

/* Dropdown panel — must work when portaled to body (outside .hero-search--premium) */
.custom-select-dropdown {
  min-width: 220px;
  padding: 0.45rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow:
    0 20px 40px rgba(15, 15, 30, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transform-origin: top center;
}

.custom-select-dropdown--portal {
  position: fixed;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  overflow: visible;
  animation: customSelectIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-select-dropdown--portal.custom-select-dropdown--above {
  transform-origin: bottom center;
  animation: customSelectInAbove 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes customSelectIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes customSelectInAbove {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.custom-select-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(245, 240, 232, 0.85);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.custom-select-search svg {
  flex-shrink: 0;
  color: var(--or-saharien);
  opacity: 0.85;
}

.custom-select-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-corps);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bleu-marine);
  outline: none;
}

.custom-select-search-input::placeholder {
  color: var(--gris-moyen);
}

.custom-select-options {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(280px, 52vh);
  overflow-y: auto;
  overscroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.45) transparent;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.custom-select-dropdown--portal .custom-select-options {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(280px, 52vh);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .custom-select-dropdown--portal {
    border-radius: 12px;
    padding: 0.4rem;
  }

  .custom-select-option {
    padding: 0.72rem 0.85rem;
    font-size: 0.9375rem;
  }
}

.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.45);
  border-radius: 999px;
}

.custom-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bleu-marine);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.custom-select-option-label {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.custom-select-option-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  color: var(--or-saharien-dark, var(--or-saharien));
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select-option.is-placeholder {
  color: var(--gris-moyen);
  font-weight: 600;
  margin-bottom: 0.2rem;
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  border-radius: 10px 10px 0 0;
  padding-bottom: 0.75rem;
}

.custom-select-option.is-placeholder + .custom-select-option {
  margin-top: 0.15rem;
}

.custom-select-option.is-focused,
.custom-select-option:hover {
  background: linear-gradient(90deg, rgba(201, 169, 110, 0.14) 0%, rgba(201, 169, 110, 0.06) 100%);
  color: var(--bleu-marine);
}

.custom-select-option.is-selected {
  background: rgba(201, 169, 110, 0.12);
  font-weight: 600;
}

.custom-select-option.is-selected .custom-select-option-check {
  opacity: 1;
  transform: scale(1);
}

.custom-select-empty {
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gris-moyen);
  list-style: none;
}

.hero-search--premium .search-field--select.is-open .search-field-chevron,
.hero-search--premium .search-field--select:focus-within .search-field-chevron {
  transform: translateY(-50%) rotate(180deg);
  background: rgba(201, 169, 110, 0.22);
}

.hero-search--premium .search-input {
  cursor: text;
  padding-right: 0;
}

.hero-search--premium .search-input::placeholder {
  color: var(--gris-moyen);
  font-weight: 500;
}

.hero-search--premium .search-field-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.12);
  color: var(--or-saharien-dark, var(--or-saharien));
  pointer-events: none;
  transition: transform 0.28s ease, background 0.28s ease;
}

.hero-search--premium .hero-search-btn {
  flex-shrink: 0;
  align-self: center;
  margin: 0.35rem 0.45rem 0.35rem 0.25rem;
  padding: 1rem 1.65rem;
  border: 0;
  border-radius: 14px;
  background: var(--or-saharien);
  color: var(--blanc-pur);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-search--premium .hero-search-btn:hover {
  background: var(--or-saharien-light);
}

.hero-search--premium .hero-search-btn svg {
  flex-shrink: 0;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .hero-search--premium {
    flex-direction: column;
    border-radius: var(--radius-xl);
    padding: 0.65rem;
    gap: 0.35rem;
  }

  .hero-search--premium .search-field {
    width: 100%;
    border-right: none;
    border-bottom: none;
    border-radius: var(--radius-lg) !important;
    padding: 0.85rem 1rem;
    background: rgba(245, 240, 232, 0.65);
  }

  .hero-search--premium .search-field:focus-within {
    background: rgba(201, 169, 110, 0.12);
  }

  .hero-search--premium .hero-search-btn {
    width: 100%;
    margin: 0.25rem 0 0;
    padding: 1rem;
    border-radius: var(--radius-lg);
  }
}

.search-btn {
  position: relative;
  overflow: hidden;
}

.search-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.search-btn:hover::after {
  transform: translateX(100%);
}

.hero-stats-row {
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-8);
}

/* —— Property cards —— */
.property-card-wrapper,
.property-card {
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.property-card-wrapper:hover,
.property-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(26, 26, 46, 0.12),
    0 8px 16px rgba(201, 169, 110, 0.08);
}

.property-card-media,
.property-image {
  overflow: hidden;
}

.property-card-media img,
.property-image img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card-wrapper:hover .property-image img,
.property-card:hover .property-image img,
.property-card-media:hover img {
  transform: scale(1.06);
}

.property-card .badge,
.property-type-badge {
  backdrop-filter: blur(8px);
}

.property-details-link {
  transition: gap 0.25s ease, color 0.25s ease;
}

.property-card-footer:hover .property-details-link,
.property-card:hover .property-details-link {
  color: var(--or-saharien);
}

/* —— Feature boxes —— */
.feature-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
  background: var(--blanc-pur);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--or-saharien), var(--vert-lagon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow: var(--shadow-xl);
}

.feature-box:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  transition: transform 0.4s ease, background 0.4s ease;
}

.feature-box:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* —— Zone / guide cards —— */
.guide-card {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
}

.guide-card img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.guide-card:hover img {
  transform: scale(1.08);
}

.guide-overlay {
  transition: background 0.4s ease;
}

.guide-card:hover .guide-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(15, 15, 30, 0.92) 100%);
}

/* —— Testimonials —— */
.testimonial-card {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.35);
}

/* —— Stats section —— */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(201, 169, 110, 0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(42, 157, 143, 0.12), transparent 45%);
  pointer-events: none;
}

.counter-item {
  transition: transform 0.35s ease;
}

.counter-item:hover {
  transform: translateY(-3px);
}

/* —— Buttons —— */
.btn-gold,
.btn-primary,
.search-btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn-gold:hover,
.btn-primary:hover,
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline-dark {
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn-outline-dark:hover {
  transform: translateY(-2px);
}

.btn-outline-dark svg {
  transition: transform 0.25s ease;
}

.btn-outline-dark:hover svg {
  transform: translateX(4px);
}

/* —— Newsletter —— */
.newsletter-box {
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.2), transparent 70%);
  pointer-events: none;
}

/* —— Partners marquee —— */
.partners-track {
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-band:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo-placeholder {
  transition: color 0.3s ease, transform 0.3s ease;
}

.partner-logo-placeholder:hover {
  color: var(--or-saharien);
  transform: scale(1.05);
}

/* —— Owl carousel nav —— */
.featured-slider .owl-nav button {
  transition: transform 0.25s ease, background 0.25s ease !important;
}

.featured-slider .owl-nav button:hover {
  transform: scale(1.08);
}

/* —— Page headers (inner pages) —— */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201, 169, 110, 0.12), transparent);
  pointer-events: none;
}

/* Listing cards: stagger fade-in (listings page) */
.listings-grid:not(.listings-grid--static) .property-card-wrapper,
.listings-grid:not(.listings-grid--static) .property-card {
  opacity: 0;
  transform: translateY(20px);
  animation: cardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--card-index, 0) * 0.06s);
}

/* Dashboard / favoris — always visible (no reveal conflict in RTL) */
.listings-grid.listings-grid--static .property-card-wrapper,
.listings-grid.listings-grid--static .property-card,
.listings-grid.listings-grid--static [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Home featured slider items — no stagger conflict */
.featured-slider .property-card-wrapper {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-scroll-cue {
    display: none;
  }
}
