:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #081c3a;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(201, 162, 39, 0.14),
      transparent 18%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(56, 189, 248, 0.1),
      transparent 16%
    );
  pointer-events: none;
  z-index: -1;
}

.header-shell {
  background: rgba(8, 28, 58, 0.88);
  backdrop-filter: blur(20px);
}

.nav-link {
  position: relative;
  color: #f8fafc;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: #c9a227;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffd572;
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.button-primary {
  background: linear-gradient(135deg, #c9a227, #ffd572);
  color: #081c3a;
  box-shadow: 0 22px 45px rgba(201, 162, 39, 0.16);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(201, 162, 39, 0.24);
  filter: brightness(1.05);
}

.header-button {
  min-width: 160px;
  padding: 1rem 1.7rem;
}

.header-button.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.35);
}

.header-button.button-primary {
  box-shadow: 0 22px 60px rgba(201, 162, 39, 0.2);
}

.header-button.button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.card,
.info-card,
.plot-card,
.icon-card,
.amenity-card,
.location-pill,
.location-card,
.invest-card,
.gallery-card,
.form-field,
.modal-content {
  border-radius: 1.75rem;
}

.card,
.info-card,
.plot-card,
.icon-card,
.amenity-card,
.location-card,
.invest-card,
.gallery-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.92)
  );
  color: #081c3a;
  padding: 2rem;
  box-shadow: 0 24px 70px rgba(8, 28, 58, 0.12);
}

.card {
  font-size: 1.75rem;
  font-weight: 700;
}

.card span,
.info-card span,
.plot-card span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

.info-card {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plot-card {
  min-height: 10rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-pill,
.location-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(8, 28, 58, 0.08);
  color: #081c3a;
  font-weight: 600;
}

.icon-card,
.location-card,
.invest-card {
  background: rgba(255, 255, 255, 0.96);
  color: #081c3a;
  border: 1px solid rgba(8, 28, 58, 0.08);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(8, 28, 58, 0.08);
}

.icon-card {
  min-height: 17rem;
}

.icon-card .icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(201, 162, 39, 0.16);
  color: #c9a227;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-card h3,
.amenity-card,
.location-card,
.invest-card {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.icon-card p,
.location-card,
.invest-card {
  color: rgba(0, 0, 0, 0.76);
  line-height: 1.8;
}

.amenity-card {
  min-height: 10rem;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(15px);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 18rem;
  width: 100%;
  color: #ffffff;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 58, 0.1),
    rgba(8, 28, 58, 0.72)
  );
  z-index: 1;
}

.gallery-card::after {
  content: attr(data-title);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
  z-index: 2;
}

.form-field {
  display: grid;
  gap: 0.75rem;
  color: #f8fafc;
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(201, 162, 39, 0.8);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.75rem;
  min-height: 3.75rem;
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.floating-button:hover {
  transform: translateY(-3px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  z-index: 10;
  width: min(90vw, 900px);
  max-height: 90vh;
  padding: 1.5rem;
  border-radius: 2rem;
  background: rgba(8, 28, 58, 0.95);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 58, 0.8),
    rgba(8, 28, 58, 0.75)
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.4rem;
}

.hero-copy h1 {
  font-size: clamp(3rem, 4vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-copy p.lead {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  line-height: 1.85;
}

.hero-copy .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.hero-actions .button-primary,
.hero-actions .button-secondary {
  min-width: 180px;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  padding: 1.25rem 1.4rem;
  color: #fff;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.hero-card span {
  color: #c9a227;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 800;
}

.hero-card .hero-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
}

.hero-card .form-field {
  margin-top: 1.25rem;
}

.hero-card button {
  margin-top: 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.price-table th,
.price-table td {
  padding: 1.25rem 1rem;
  text-align: left;
}

.price-table th {
  background: rgba(201, 162, 39, 0.14);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.price-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.price-table td:last-child {
  font-weight: 700;
  color: #ffd572;
}

.plan-highlight {
  display: grid;
  gap: 1rem;
}

.plan-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  padding: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.plan-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.plan-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #c9a227;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
}

.section-heading {
  font-size: clamp(2.5rem, 3.4vw, 4rem);
  line-height: 1.05;
  margin-top: 1rem;
}

.section-copy {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.animate-fade-down {
  opacity: 0;
  transform: translateY(-24px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
  will-change: opacity, transform;
}

.animate-scale-up {
  opacity: 0;
  transform: scale(0.98);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
  will-change: opacity, transform;
}

.animate-fade-up.is-visible,
.animate-fade-down.is-visible,
.animate-scale-up.is-visible {
  opacity: 1;
  transform: none;
}

.delay-100 {
  transition-delay: 0.12s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}
.delay-500 {
  transition-delay: 0.5s;
}
.delay-600 {
  transition-delay: 0.6s;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(201, 162, 39, 0.12),
      transparent 24%
    );
  opacity: 0.75;
  pointer-events: none;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.card,
.info-card,
.plot-card,
.icon-card,
.amenity-card,
.location-card,
.invest-card,
.gallery-card,
.hero-card,
.plan-card {
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}

.card:hover,
.info-card:hover,
.plot-card:hover,
.icon-card:hover,
.amenity-card:hover,
.location-card:hover,
.invest-card:hover,
.gallery-card:hover,
.hero-card:hover,
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 75px rgba(8, 28, 58, 0.18);
}

.section-heading {
  color: #ffffff;
}

.section-copy {
  color: rgba(255, 255, 255, 0.78);
}

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

  .hero-copy h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
  }

  .hero-copy .section-label,
  .hero-copy .lead,
  .hero-copy p {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

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

@media (max-width: 640px) {
  .hero-section {
    padding-top: 5rem;
  }
  .hero-copy h1 {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hero-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
  .hero-actions button {
    width: 100%;
  }
}

/* Universal lead popup styles */
.lead-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}
.lead-popup.hidden {
  display: none;
}
.lead-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}
.lead-popup-card {
  position: relative;
  z-index: 10;
  background: #081c3a;
  border: 1px solid #c9a227;
  border-radius: 2rem;
  padding: 2rem;
  width: min(90vw, 420px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lead-popup-card .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  font-size: 20px;
  cursor: pointer;
}
.lead-popup-card h3 {
  color: #fff;
  margin-bottom: 0.25rem;
}
.lead-popup-card p.lead-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.lead-popup .form-field input {
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.lead-popup .form-field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.lead-popup .submit-btn {
  background: linear-gradient(90deg, #c9a227, #e6c76b);
  color: #081c3a;
  border: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  width: 100%;
  cursor: pointer;
}
.lead-popup .success-msg {
  color: #f6d58e;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

/* Floating universal CTAs */
.universal-ctas {
  position: fixed;
  right: 1.5rem;
  bottom: 6rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.universal-ctas .btn-enquire {
  background: #c9a227;
  color: #081c3a;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 22px 50px rgba(201, 162, 39, 0.16);
}
.universal-ctas .btn-visit {
  background: #081c3a;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid #c9a227;
  font-weight: 700;
}
