:root {
  --brand-ink: #10223b;
  --brand-deep: #071326;
  --brand-accent: #d89c3d;
  --brand-muted: #6f7b8a;
  --surface: #f6f7fb;
  --white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(16, 34, 59, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--brand-ink);
  background: radial-gradient(circle at 10% 20%, #f6f7fb, #eef2f7 40%, #edf1f8 100%);
}

h1,
h2,
h3,
.brand-mark {
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

h3 {
  font-size: 1.25rem;
  margin-top: 0.75rem;
}

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

.nav-surface {
  background: linear-gradient(90deg, rgba(7, 19, 38, 0.95), rgba(16, 34, 59, 0.95));
  backdrop-filter: blur(6px);
}

.brand-mark {
  font-size: 1.3rem;
  letter-spacing: 0.2px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--brand-accent);
}

.hero-section {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(7, 19, 38, 0.88), rgba(16, 34, 59, 0.58)),
    url('https://images.unsplash.com/photo-1479839672679-a46483c0e7c8?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 4rem 0 2rem;
}

.hero-content {
  max-width: 720px;
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-accent);
}

.search-panel {
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  color: var(--brand-ink);
}

.btn-accent {
  background: var(--brand-accent);
  color: #1a1a1a;
  border: 0;
  font-weight: 700;
}

.btn-accent:hover {
  background: #e3ab52;
  color: #121212;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading p {
  color: var(--brand-muted);
  margin: 0;
}

.property-card,
.agent-card,
.form-card,
.card {
  border: 0;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.property-card img,
.agent-card img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
  height: 230px;
}

.property-card .card-body,
.agent-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cta-band {
  background: linear-gradient(90deg, #10223b, #1b3558);
  color: var(--white);
}

.page-hero {
  padding: 5rem 0 4rem;
  color: var(--white);
}

.about-hero {
  background: linear-gradient(120deg, rgba(7, 19, 38, 0.85), rgba(16, 34, 59, 0.45)),
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}

.properties-hero {
  background: linear-gradient(120deg, rgba(7, 19, 38, 0.85), rgba(16, 34, 59, 0.45)),
    url('https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}

.gallery-hero {
  background: linear-gradient(120deg, rgba(7, 19, 38, 0.85), rgba(16, 34, 59, 0.45)),
    url('https://images.unsplash.com/photo-1416331108676-a22ccb276e35?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}

.contact-hero {
  background: linear-gradient(120deg, rgba(7, 19, 38, 0.85), rgba(16, 34, 59, 0.45)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
}

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

.stat-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.stat-card h3 {
  font-size: 1.8rem;
  margin: 0;
  color: var(--brand-accent);
}

.filter-toolbar {
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

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

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.site-footer {
  background: #0b1830;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--brand-accent);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 1080;
}

.floating-whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }

  .property-card img,
  .agent-card img,
  .gallery-item img {
    height: 210px;
  }
}

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

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}
