:root {
  --bg: #03122f;
  --surface: #071b45;
  --surface-2: #0b2e72;
  --text: #f8fbff;
  --muted: #c8d6ee;
  --accent: #4169e1;
  --accent-2: #8fb3ff;
  --brand-red: #d7a948;
  --brand-green: #0b7f5b;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 45px rgba(0, 14, 45, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #03122f 0%, #06245b 55%, #020a1c 100%);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 0.75rem 5vw;
  background: rgba(3, 18, 47, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s ease, color 0.25s ease;
}

.brand::after {
  content: '';
  position: absolute;
  inset: -7px -9px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(215, 169, 72, 0.1));
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
}

.brand:hover {
  transform: translateY(-1px);
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8fb3ff);
  color: #f8fbff;
  font-weight: 800;
}

.brand-logo {
  width: clamp(150px, 13vw, 190px);
  height: 54px;
  object-fit: cover;
  object-position: 50% 58%;
  border-radius: 14px;
  background: #03122f;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 26px rgba(0, 0, 0, 0.24);
  filter: saturate(1.06) contrast(1.06);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.brand span {
  display: none;
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.12) contrast(1.08);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 5rem 5vw 3rem;
  background: #03122f;
}

.hero-compact {
  min-height: 58vh;
  padding-top: 4.5rem;
  padding-bottom: 4rem;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 18, 47, 0.92) 0%, rgba(3, 18, 47, 0.7) 34%, rgba(3, 18, 47, 0.12) 68%, rgba(3, 18, 47, 0.22) 100%),
    linear-gradient(0deg, rgba(3, 18, 47, 0.34), rgba(3, 18, 47, 0.02) 44%);
  backdrop-filter: blur(1px);
}

.hero::after {
  z-index: 2;
  background: linear-gradient(115deg, transparent 0%, rgba(143, 179, 255, 0.18) 45%, transparent 62%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 35%);
  transform: translateX(-115%);
  animation: heroSweep 7s ease-in-out infinite;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  --slide-duration: 55s;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroSlideShow var(--slide-duration) ease-in-out infinite;
  animation-delay: var(--slide-delay, 0s);
  filter: saturate(1.08) contrast(1.04);
  will-change: opacity, transform;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  animation: heroRise 0.9s ease-out both;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.whatsapp-button {
  position: fixed;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  color: #f8fbff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-button {
  bottom: 24px;
  background: linear-gradient(135deg, #25d366, #0b7f5b);
  text-decoration: none;
  animation: contactPulse 2.6s ease-in-out infinite;
}

.whatsapp-button::before {
  content: '';
  width: 30px;
  height: 30px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset -8px -8px 0 rgba(255, 255, 255, 0.16);
}

.whatsapp-button::after {
  content: '';
  position: absolute;
  right: 17px;
  bottom: 15px;
  width: 13px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 38%, 20% 100%);
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.34);
  filter: saturate(1.08);
}

.contact-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 14px;
  z-index: 999;
  display: none;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  background: rgba(3, 18, 47, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.6rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  min-height: 46px;
  min-width: 120px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.chatbot-button {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #8fb3ff);
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  cursor: pointer;
}

.chatbot-button:hover {
  transform: translateY(-2px);
}

.chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: 174px;
  z-index: 998;
  width: min(360px, calc(100vw - 24px));
  max-height: min(520px, calc(100vh - 110px));
  display: flex;
  flex-direction: column;
  background: rgba(3, 18, 47, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.23s ease;
}

.chatbot-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-panel-header h3 {
  margin: 0;
  font-size: 1rem;
}

.chatbot-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.9rem 1rem 0.75rem;
  overflow-y: auto;
  font-size: 0.95rem;
}

.chatbot-bubble {
  max-width: 90%;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.chatbot-bubble.user {
  align-self: flex-end;
  background: rgba(65, 105, 225, 0.32);
}

.chatbot-bubble.bot.loading {
  font-style: italic;
  opacity: 0.8;
}

.chatbot-form {
  display: flex;
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-form input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 0.9rem;
}

.chatbot-form button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 0.95rem;
  background: linear-gradient(135deg, var(--accent), #8fb3ff);
  color: white;
  cursor: pointer;
  font-weight: 700;
}

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

.whatsapp-item {
  color: #05140d;
  background: linear-gradient(135deg, #3be47b, #25d366);
}

.whatsapp-item::before {
  content: '';
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-7.75 13.57L3 21l4.54-1.23A9 9 0 1 0 12 3Zm5.15 12.31c-.14.4-.8 1.01-1.1 1.08-.29.07-.67.07-.98-.07a12.8 12.8 0 0 1-2.68-1.66 12.3 12.3 0 0 1-2.25-2.73c-.35-.58-.07-1.23.52-1.61.16-.1.32-.16.48-.16.13 0 .27 0 .38.01.12.02.28.03.42.25.15.24.49.83.54 1.02.06.19 0 .42-.12.58-.07.1-.16.24-.24.35-.08.11-.16.22-.08.36.08.14.36.6.79.98.43.28.77.42.95.5.18.04.34.02.47-.1.13-.12.29-.31.44-.48.14-.16.15-.18.31-.1.16.08.98.47 1.15.56.17.08.29.12.33.18.05.06.05.66-.09 1.06Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-7.75 13.57L3 21l4.54-1.23A9 9 0 1 0 12 3Zm5.15 12.31c-.14.4-.8 1.01-1.1 1.08-.29.07-.67.07-.98-.07a12.8 12.8 0 0 1-2.68-1.66 12.3 12.3 0 0 1-2.25-2.73c-.35-.58-.07-1.23.52-1.61.16-.1.32-.16.48-.16.13 0 .27 0 .38.01.12.02.28.03.42.25.15.24.49.83.54 1.02.06.19 0 .42-.12.58-.07.1-.16.24-.24.35-.08.11-.16.22-.08.36.08.14.36.6.79.98.43.28.77.42.95.5.18.04.34.02.47-.1.13-.12.29-.31.44-.48.14-.16.15-.18.31-.1.16.08.98.47 1.15.56.17.08.29.12.33.18.05.06.05.66-.09 1.06Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 18px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 18px;
}

.call-item {
  color: #f8fbff;
  background: linear-gradient(135deg, var(--accent), #2447b8);
}

.call-item::before {
  content: '';
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 30px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.6 15.6 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.6 11.6 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.3a1 1 0 0 1 1 1 11.6 11.6 0 0 0 .57 3.6 1 1 0 0 1-.24 1l-2.2 2.2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.6 15.6 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24 11.6 11.6 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.3a1 1 0 0 1 1 1 11.6 11.6 0 0 0 .57 3.6 1 1 0 0 1-.24 1l-2.2 2.2Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 16px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 16px;
}


.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero-text {
  font-size: 1.05rem;
  color: #f1e4cb;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.7rem 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2447b8);
  color: #f8fbff;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  list-style: none;
  color: #f1e4cb;
}

.hero-highlights li::before {
  content: '• ';
  color: var(--accent);
}

.property-filter-panel {
  margin: -0.25rem 5vw 2rem;
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(65, 105, 225, 0.16));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.filter-header {
  margin-bottom: 1rem;
}

.filter-header h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.filter-field span {
  font-weight: 700;
  color: var(--text);
}

.filter-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.8rem 0.95rem;
  background: rgba(3, 18, 47, 0.78);
  color: var(--text);
  font: inherit;
}

.filter-reset {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, var(--accent), #2447b8);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.filter-empty {
  grid-column: 1 / -1;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  text-align: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 5vw 0;
}

.stats div {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
}

.stat-value {
  min-height: 1.75rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.stats div:hover .stat-value {
  transform: translateY(-2px);
  color: #f4c15d;
}

.section {
  padding: 5rem 5vw;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 2rem;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.75rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sort-bar strong {
  color: var(--text);
}

.sort-btn {
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sort-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.property-summary {
  margin: 0.9rem 0 0;
  color: #dbe3ec;
  font-size: 0.96rem;
  line-height: 1.5;
}

.filter-btn {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--accent);
  color: #f8fbff;
  border-color: var(--accent);
}

.property-grid,
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 46, 114, 0.96), rgba(7, 27, 69, 0.98));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.property-grid .property-card.reveal {
  opacity: 1;
  transform: none;
}

.property-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.property-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.property-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.1rem 1.3rem;
}

.property-card.collapsed:not(.is-open) .property-details {
  display: none;
}

.property-card .details-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-2);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.property-card button.details-toggle-btn {
  font: inherit;
}

.property-card .details-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.social-section {
  padding: 3rem 5vw;
}

.social-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 104px;
  padding: 1rem 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(65, 105, 225, 0.14));
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  color: var(--text);
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 14, 45, 0.16);
  -webkit-tap-highlight-color: transparent;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 30px rgba(0, 14, 45, 0.22);
}

.social-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 0;
  font-weight: 800;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 22px rgba(0, 14, 45, 0.24);
}

.social-link span:last-child {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.testimonials-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 3rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.testimonial-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  animation: floatCard 8s ease-in-out infinite;
}

.testimonial-card:nth-child(odd) {
  transform: translateY(-8px);
}

.testimonial-card:nth-child(even) {
  transform: translateY(8px);
}

.testimonial-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.testimonial-quote {
  margin: 0;
  color: #e5eef9;
  font-size: 1rem;
  line-height: 1.8;
}

.testimonial-card footer {
  margin-top: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 960px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .social-link {
    min-height: 96px;
    padding: 0.9rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .social-links {
    grid-template-columns: 1fr;
  }

  .social-link {
    min-height: 88px;
  }
}

.social-icon::before {
  content: '';
  width: 22px;
  height: 22px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.social-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #0f5edb);
}

.social-icon.facebook::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-9h3l.5-3h-3.5V4.2c0-1.2.5-2 2-2h2V0h-2.8C12.8 0 11.4 1.5 11.4 4.4V10H8v3h3.4v9h2.1Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 22v-9h3l.5-3h-3.5V4.2c0-1.2.5-2 2-2h2V0h-2.8C12.8 0 11.4 1.5 11.4 4.4V10H8v3h3.4v9h2.1Z'/%3E%3C/svg%3E");
}

.social-icon.instagram {
  background: linear-gradient(135deg, #feda75 0%, #d62976 45%, #515bd4 100%);
}

.social-icon.instagram::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4Zm5 4.5A4.5 4.5 0 1 0 16.5 12 4.5 4.5 0 0 0 12 7.5Zm6.5-1.3a1.2 1.2 0 1 0 1.2 1.2 1.2 1.2 0 0 0-1.2-1.2Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h10a4 4 0 0 1 4 4v10a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V7a4 4 0 0 1 4-4Zm5 4.5A4.5 4.5 0 1 0 16.5 12 4.5 4.5 0 0 0 12 7.5Zm6.5-1.3a1.2 1.2 0 1 0 1.2 1.2 1.2 1.2 0 0 0-1.2-1.2Z'/%3E%3C/svg%3E");
}

.social-icon.linkedin {
  background: linear-gradient(135deg, #0a66c2, #084b96);
}

.social-icon.linkedin::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.94 8.5A1.56 1.56 0 1 1 6.94 5.38a1.56 1.56 0 0 1 0 3.12ZM5.5 9.75h2.88V19H5.5Zm4.82 0h2.76v1.25h.04c.38-.72 1.32-1.48 2.71-1.48 2.9 0 3.44 1.91 3.44 4.39V19h-2.88v-8.24c0-1.96-.03-4.48-2.73-4.48-2.74 0-3.16 2.14-3.16 4.35V19H10.32Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.94 8.5A1.56 1.56 0 1 1 6.94 5.38a1.56 1.56 0 0 1 0 3.12ZM5.5 9.75h2.88V19H5.5Zm4.82 0h2.76v1.25h.04c.38-.72 1.32-1.48 2.71-1.48 2.9 0 3.44 1.91 3.44 4.39V19h-2.88v-8.24c0-1.96-.03-4.48-2.73-4.48-2.74 0-3.16 2.14-3.16 4.35V19H10.32Z'/%3E%3C/svg%3E");
}

.social-icon.whatsapp {
  background: linear-gradient(135deg, #25d366, #1fa852);
  color: #07111a;
}

.social-icon.whatsapp::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-7.75 13.57L3 21l4.54-1.23A9 9 0 1 0 12 3Zm5.15 12.31c-.14.4-.8 1.01-1.1 1.08-.29.07-.67.07-.98-.07a12.8 12.8 0 0 1-2.68-1.66 12.3 12.3 0 0 1-2.25-2.73c-.35-.58-.07-1.23.52-1.61.16-.1.32-.16.48-.16.13 0 .27 0 .38.01.12.02.28.03.42.25.15.24.49.83.54 1.02.06.19 0 .42-.12.58-.07.1-.16.24-.24.35-.08.11-.16.22-.08.36.08.14.36.6.79.98.43.28.77.42.95.5.18.04.34.02.47-.1.13-.12.29-.31.44-.48.14-.16.15-.18.31-.1.16.08.98.47 1.15.56.17.08.29.12.33.18.05.06.05.66-.09 1.06Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-7.75 13.57L3 21l4.54-1.23A9 9 0 1 0 12 3Zm5.15 12.31c-.14.4-.8 1.01-1.1 1.08-.29.07-.67.07-.98-.07a12.8 12.8 0 0 1-2.68-1.66 12.3 12.3 0 0 1-2.25-2.73c-.35-.58-.07-1.23.52-1.61.16-.1.32-.16.48-.16.13 0 .27 0 .38.01.12.02.28.03.42.25.15.24.49.83.54 1.02.06.19 0 .42-.12.58-.07.1-.16.24-.24.35-.08.11-.16.22-.08.36.08.14.36.6.79.98.43.28.77.42.95.5.18.04.34.02.47-.1.13-.12.29-.31.44-.48.14-.16.15-.18.31-.1.16.08.98.47 1.15.56.17.08.29.12.33.18.05.06.05.66-.09 1.06Z'/%3E%3C/svg%3E");
}

.social-icon.tiktok {
  background: linear-gradient(135deg, #111827, #4169e1 52%, #ff3b5c);
}

.social-icon.tiktok::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h2.2a4.8 4.8 0 0 0 4.8 4.8v2.35A7.15 7.15 0 0 1 13.85 17.3a7.15 7.15 0 1 1-2.56-12.06V10.3a4.8 4.8 0 1 0 2.71 4.5V3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h2.2a4.8 4.8 0 0 0 4.8 4.8v2.35A7.15 7.15 0 0 1 13.85 17.3a7.15 7.15 0 1 1-2.56-12.06V10.3a4.8 4.8 0 1 0 2.71 4.5V3Z'/%3E%3C/svg%3E");
}

.property-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.property-top h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.22;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 46%;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(215, 169, 72, 0.34);
  background: rgba(215, 169, 72, 0.1);
  color: #f4c15d;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.property-info p {
  color: var(--muted);
  margin: 0.55rem 0 0.85rem;
}

.property-info ul {
  margin: 0.55rem 0 0.9rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.property-info li {
  margin: 0.24rem 0;
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.95rem 0 0.1rem;
}

.property-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #edf4ff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.feature-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: #f4c15d;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.feature-icon.beds {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11V6a2 2 0 0 1 2-2h5a3 3 0 0 1 3 3v4h4a3 3 0 0 1 3 3v6h-2v-2H5v2H3V4h2v7Zm2-5v5h6V7a1 1 0 0 0-1-1H6Zm-1 10h14v-2a1 1 0 0 0-1-1H5v3Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11V6a2 2 0 0 1 2-2h5a3 3 0 0 1 3 3v4h4a3 3 0 0 1 3 3v6h-2v-2H5v2H3V4h2v7Zm2-5v5h6V7a1 1 0 0 0-1-1H6Zm-1 10h14v-2a1 1 0 0 0-1-1H5v3Z'/%3E%3C/svg%3E");
}

.feature-icon.baths {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4a3 3 0 0 1 6 0v5h6v5a6 6 0 0 1-4 5.66V22h-2v-2H8v2H6v-2.34A6 6 0 0 1 2 14v-3h10V4a1 1 0 0 0-2 0v1H8V4Zm-4 9v1a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1H4Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4a3 3 0 0 1 6 0v5h6v5a6 6 0 0 1-4 5.66V22h-2v-2H8v2H6v-2.34A6 6 0 0 1 2 14v-3h10V4a1 1 0 0 0-2 0v1H8V4Zm-4 9v1a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-1H4Z'/%3E%3C/svg%3E");
}

.feature-icon.size {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4V4Zm2 2v12h12V6H6Zm2 2h5v2h-3v3H8V8Zm8 8h-5v-2h3v-3h2v5Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v16H4V4Zm2 2v12h12V6H6Zm2 2h5v2h-3v3H8V8Zm8 8h-5v-2h3v-3h2v5Z'/%3E%3C/svg%3E");
}

.feature-icon.price-tag {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.4V4h7.4L21 14.6 14.6 21 3 11.4ZM6 7a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11.4V4h7.4L21 14.6 14.6 21 3 11.4ZM6 7a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z'/%3E%3C/svg%3E");
}

.feature-icon.calendar {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm13 8H6v10h14V10Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h2v3h6V2h2v3h3v17H4V5h3V2Zm13 8H6v10h14V10Z'/%3E%3C/svg%3E");
}

.feature-icon.parking {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h8a5 5 0 0 1 0 10H9v8H6V3Zm3 3v4h5a2 2 0 0 0 0-4H9Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h8a5 5 0 0 1 0 10H9v8H6V3Zm3 3v4h5a2 2 0 0 0 0-4H9Z'/%3E%3C/svg%3E");
}

.feature-icon.dsq {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 3 10v11h7v-6h4v6h7V10L12 3Zm6 16h-2v-6H8v6H6v-8.03l6-4.67 6 4.67V19Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 3 10v11h7v-6h4v6h7V10L12 3Zm6 16h-2v-6H8v6H6v-8.03l6-4.67 6 4.67V19Z'/%3E%3C/svg%3E");
}

.property-details {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.property-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.about-card,
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.check-list {
  padding-left: 1.1rem;
  color: #f1e4cb;
}

.location-details,
.invest-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.location-details > p,
.invest-section > p {
  max-width: 860px;
  color: var(--muted);
}

.location-details ul,
.invest-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 980px;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.location-details li,
.invest-section li {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.testimonial-grid blockquote {
  margin: 0;
  padding: 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.testimonial-grid footer {
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #f1e4cb;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.footer {
  padding: 1.5rem 5vw 2rem;
  color: var(--muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.property-card.reveal.is-visible:hover {
  transform: translateY(-7px);
}

.property-card.is-targeted {
  outline: 2px solid rgba(143, 179, 255, 0.9);
  box-shadow: 0 0 0 6px rgba(143, 179, 255, 0.18), var(--shadow);
  transform: translateY(-6px);
}

.social-link.reveal.is-visible:hover {
  transform: translateY(-3px);
}

.testimonial-card.reveal.is-visible:hover {
  transform: translateY(-4px) scale(1.02);
}

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

@keyframes heroSlideShow {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  3% {
    opacity: 1;
  }
  8.8% {
    opacity: 1;
  }
  12.8% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes heroSweep {
  0%, 38% {
    transform: translateX(-115%);
  }
  70%, 100% {
    transform: translateX(115%);
  }
}

@keyframes contactPulse {
  0%, 100% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.28);
  }
  50% {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-slide {
    animation: none !important;
    opacity: 0;
    transform: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .property-grid,
  .testimonial-grid,
  .location-details ul,
  .invest-section ul,
  .about-section,
  .contact-section,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 64px;
    padding: 0.7rem 1.2rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }

  .brand-logo {
    width: 138px;
    height: 42px;
    border-radius: 12px;
    padding: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.2rem;
    left: 1.2rem;
    display: none;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 18, 47, 0.88), rgba(3, 18, 47, 0.42)),
      linear-gradient(0deg, rgba(3, 18, 47, 0.5), rgba(3, 18, 47, 0.08) 50%);
  }

  .hero-slide {
    object-position: center;
  }

  .property-filter-panel {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
  }

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

  .property-info {
    padding: 1rem;
  }

  .property-top {
    flex-direction: column;
    gap: 0.55rem;
  }

  .price {
    max-width: 100%;
    text-align: left;
  }

  .property-meta {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    display: none;
  }

  .contact-bar {
    display: flex;
  }

}

/* Lightbox overlay for image previews */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
