:root {
  --bg: #f4f7fb;
  --bg-soft: #eaf0f6;
  --card: #ffffff;
  --card-2: #f8fbff;
  --navy: #0f2742;
  --navy-2: #183a63;
  --text: #5d6c7c;
  --muted: #8190a0;
  --title: #15263b;
  --line: rgba(21, 38, 59, 0.08);
  --shadow: 0 24px 70px rgba(31, 54, 84, 0.12);
  --radius: 26px;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(24, 58, 99, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(15, 39, 66, 0.06), transparent 24%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  color: var(--navy-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 16px;
}

h1,
h2,
h3,
.logo-text strong {
  font-family: "Playfair Display", serif;
  color: var(--title);
}

h1 {
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.7rem;
}

p {
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  box-shadow: 0 16px 32px rgba(15, 39, 66, 0.2);
}

.btn-secondary {
  background: rgba(15, 39, 66, 0.04);
  border-color: rgba(15, 39, 66, 0.08);
  color: var(--navy);
}

.btn-secondary:hover {
  background: rgba(15, 39, 66, 0.08);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(15, 39, 66, 0.14);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-size: 1.45rem;
}

.logo-text span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--title);
  font-weight: 700;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--navy);
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 39, 66, 0.04);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url("https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1600")
    center center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 24, 40, 0.84) 18%,
      rgba(10, 24, 40, 0.46) 52%,
      rgba(10, 24, 40, 0.76) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 60px 0;
}

.hero-content h1,
.hero-content p,
.hero-content .eyebrow {
  color: #fff;
}

.hero-text {
  max-width: 640px;
  font-size: 1.08rem;
  margin-bottom: 28px;
  color: #e8eef5;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.stat-card,
.property-card,
.feature-card,
.team-card,
.testimonial-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 22px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.16);
}

.stat-card strong {
  display: block;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 0.92rem;
  color: #e2eaf2;
}

.hero-box {
  justify-self: end;
  max-width: 360px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  color: #fff;
}

.hero-box span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 8px;
  color: #d7e4f2;
}

.hero-box strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.hero-box p {
  color: #eef4fb;
  margin-bottom: 14px;
}

.hero-box a {
  font-weight: 800;
}

.ticker {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.ticker-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.ticker-row span {
  color: var(--navy);
  font-weight: 700;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.filter-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 39, 66, 0.05);
  border: 1px solid rgba(15, 39, 66, 0.08);
  color: var(--navy);
  font-weight: 700;
}

.pill.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.property-card {
  overflow: hidden;
  transition: 0.35s ease;
}

.property-card:hover {
  transform: translateY(-8px);
}

.property-image {
  height: 280px;
  background: #e4ebf3;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-content {
  padding: 24px;
}

.property-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.property-top strong {
  color: var(--navy);
  white-space: nowrap;
}

.property-content p {
  margin-bottom: 18px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.feature-card {
  padding: 18px;
}

.feature-card strong {
  display: block;
  color: var(--title);
  margin-bottom: 4px;
}

.feature-card span {
  color: var(--muted);
}

.split-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  overflow: hidden;
  transition: 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-content {
  padding: 22px;
}

.team-content span {
  color: var(--muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  padding: 28px;
}

.testimonial-card strong {
  display: block;
  color: var(--title);
  margin-top: 14px;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, #eef4fb, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.footer {
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
  background: #eef3f8;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer h3 {
  color: var(--title);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1001;
  background: linear-gradient(135deg, #1db954, #25d366);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .listings-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-image img {
    height: 420px;
  }

  .hero-box {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 22px;
    background: rgba(244, 247, 251, 0.98);
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .desktop-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-stats,
  .listings-grid,
  .feature-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 82px 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .ticker-row {
    justify-content: center;
  }

  .hero {
    background-position: 60% center;
  }

  .team-card img,
  .property-image {
    height: 240px;
  }
}