:root {
  --brand-primary: #0d1b2a;
  --brand-secondary: #1b263b;
  --brand-accent: #f2b400;
  --brand-accent-dark: #d19600;
  --brand-cream: #f9f5eb;
  --brand-muted: #8ea0b5;
  --text-dark: #0b132b;
  --text-light: rgba(255, 255, 255, 0.82);
  --shadow-soft: 0 32px 80px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--brand-primary);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

a:hover,
a:focus {
  color: var(--brand-accent);
}

.hero {
  position: relative;
  background: radial-gradient(circle at top left, rgba(242, 180, 0, 0.22), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(81, 110, 255, 0.22), transparent 55%),
    linear-gradient(160deg, #0d1b2a 0%, #1b263b 55%, #020b17 100%);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 6vw, 4.5rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(242, 180, 0, 0.55);
  top: -120px;
  left: -160px;
}

.hero::after {
  width: 520px;
  height: 520px;
  background: rgba(28, 167, 255, 0.4);
  bottom: -220px;
  right: -160px;
}

.hero__content {
  margin: auto;
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  position: relative;
  z-index: 1;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar__brand img {
  width: clamp(48px, 6vw, 64px);
  height: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.navbar__cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--brand-accent), #ffd166);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(242, 180, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar__cta--secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.navbar__cta--secondary:hover,
.navbar__cta--secondary:focus {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 27, 42, 0.25);
}

.navbar__cta:hover,
.navbar__cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(242, 180, 0, 0.4);
}

.hero__headline {
  display: grid;
  gap: 1.5rem;
}

.hero__headline h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}

.hero__headline p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  margin: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-accent), #ffd166);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 16px 32px rgba(242, 180, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(242, 180, 0, 0.45);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-light);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 27, 42, 0.35);
  transform: translateY(-2px);
}

.hero__card {
  background: rgba(4, 11, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 1.75rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: rgba(242, 180, 0, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hero__stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}

.hero__stat {
  display: grid;
  gap: 0.35rem;
}

.hero__stat strong {
  font-size: 1.8rem;
  font-weight: 600;
}

.hero__stat span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 6vw, 4.5rem);
  position: relative;
  background: #fff;
}

.section--dark {
  background: linear-gradient(160deg, #050c1a 0%, #0f1f37 55%, #050b14 100%);
  color: var(--text-light);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.metrics__card {
  background: linear-gradient(150deg, rgba(13, 27, 42, 0.92), rgba(27, 38, 59, 0.85));
  border-radius: 24px;
  padding: 2.25rem;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.metrics__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(242, 180, 0, 0.6), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.metrics__value {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.metrics__label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(13, 27, 42, 0.06);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 1rem;
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(242, 180, 0, 0.18);
  display: grid;
  place-items: center;
  color: var(--brand-accent);
  font-size: 1.4rem;
  font-weight: 600;
}

.feature-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.feature-card__body {
  margin: 0;
  color: #4a5568;
  line-height: 1.65;
}

.video-showcase {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  align-items: center;
  margin-top: 2.5rem;
  box-shadow: 0 40px 90px rgba(5, 12, 26, 0.4);
}

.video-showcase video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
}

.video-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.15));
}

.video-showcase__content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-light);
  max-width: 720px;
}

.video-showcase__content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1rem;
}

.video-showcase__content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  border-radius: 22px;
  padding: 1.75rem;
  background: rgba(13, 27, 42, 0.92);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.testimonials {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(13, 27, 42, 0.05);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 1.25rem;
}

.testimonial-card blockquote {
  margin: 0;
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.8;
}

.testimonial-card footer {
  font-weight: 600;
  color: #0d1b2a;
}

.cta {
  text-align: center;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.cta h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.footer {
  padding: 3rem clamp(1.5rem, 6vw, 4.5rem);
  background: #050c1a;
  color: rgba(255, 255, 255, 0.65);
  display: grid;
  gap: 1rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.footer small {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero__card {
    order: -1;
  }
}

@media (max-width: 540px) {
  .hero__actions {
    flex-direction: column;
  }

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

#property-filter-modal .modal-dialog {
  max-width: min(640px, 92vw);
}

.property-filter-modal__body {
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-gutter: stable both-edges;
}

@media (max-width: 576px) {
  .property-filter-modal__body {
    max-height: calc(100vh - 6rem);
  }
}