:root {
  --dark-blue: #0D2B46;
  --emerald: #1FA39A;
  --gold: #E4B363;
  --bg: #F7F8FA;
  --text: #1E1E1E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Layout helpers */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

section { padding: 42px 0; }
section.container { padding: 48px 0; }

/* Header */
header {
  background: #ffffffcc;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(13,43,70,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.nav img { height: 44px; }

header nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: var(--dark-blue);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 6px;
}

header nav a:hover { background: rgba(31,163,154,0.08); }

.btn {
  padding: .75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background: var(--emerald);
  color: white;
}

.btn-secondary {
  background: var(--dark-blue);
  color: white;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.25)), url('../images/hero-bg.jpg') center/cover no-repeat;
  padding: 80px 0 60px;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.05;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.hero p { font-size: 1.05rem; margin-top: 10px; color: rgba(255,255,255,0.92); }

.hero .btn { margin: 14px 8px 0; }

/* lead card inside hero */
.lead-card { display: flex; justify-content: center; margin-top: 18px; }
.lead-form { background: rgba(255,255,255,0.95); padding: 14px; border-radius: 10px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; align-items: center; max-width: 980px; width: 100%; }
.lead-form input, .lead-form select { padding: 10px 12px; border-radius: 6px; border: 1px solid #d7dbe0; font-size: .95rem; }
.lead-form .btn { grid-column: span 1; justify-self: start; }
.lead-form .muted { grid-column: 1 / -1; font-size: .8rem; color: #666; margin-top: 6px; }

@media (max-width: 880px) {
  .lead-form { grid-template-columns: 1fr; }
  .lead-form .btn { justify-self: stretch; }
}


/* Section titles */
.section-title { margin: 28px 0 16px; font-size: 1.35rem; color: var(--dark-blue); }
section.container > p { line-height: 1.65; margin-bottom: 12px; color: #444; font-size: 0.95rem; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 12px 0 36px; }
.card { background: #fff; padding: 24px; border-radius: 10px; box-shadow: 0 6px 18px rgba(13,43,70,0.04); border-left: 4px solid var(--emerald); }

.card h3 { margin-bottom: 8px; color: var(--dark-blue); }
.card p { color: #444; font-size: .95rem; line-height: 1.55; }

/* property cards */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.prop-card, .property { padding: 0; overflow: hidden; }
.property .prop-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.property h3 { padding: 12px 18px 0; }
.property p { padding: 6px 18px 12px; }
.property .btn { margin: 0 18px 18px; }



/* Properties */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.prop-card img { width: 100%; border-radius: 8px; display: block; }


/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.testimonial { background: #fff; padding: 16px; border-radius: 8px; box-shadow: 0 6px 14px rgba(13,43,70,0.04); display: flex; gap: 12px; align-items: center; }
.test-img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; flex: 0 0 64px; }

/* CTA */
.cta { background: var(--emerald); color: white; text-align: center; padding: 48px 24px; border-radius: 6px; margin: 28px 0; }
.cta h2 { margin-bottom: 12px; font-size: 1.5rem; }
.cta p { margin-bottom: 18px; line-height: 1.6; }

/* Footer */
footer { text-align: center; font-size: .95rem; padding: 18px 0; color: #666; }

/* Small screens */
@media (max-width: 768px) {
  .hero { padding: 60px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  header nav { display: none; }
}

@media (min-width: 769px) {
  .nav img { height: 54px; }
}
