@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=DM+Serif+Text:ital,wght@0,400;1,400&display=swap");

:root {
  --bg: #eaf1f5;
  --panel: #ffffff;
  --ink: #0f1a2c;
  --muted: #566175;
  --accent: #0e6b4b;
  --accent-strong: #0b5239;
  --accent-soft: #cbe8dc;
  --shadow: 0 18px 48px rgba(6, 32, 51, 0.16);
  --radius: 18px;
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "DM Serif Text", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding: 0 1.5rem 3rem;
  background-image: radial-gradient(circle at 20% 20%, rgba(14, 107, 75, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(14, 107, 75, 0.06), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(14, 107, 75, 0.05), transparent 30%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(234, 241, 245, 0.96), rgba(234, 241, 245, 0.7));
  backdrop-filter: blur(12px);
  z-index: 10;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  background: transparent;
}

.logo img {
  height: 58px;
  width: auto;
  display: block;
  background: transparent;
}

.logo-text {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  line-height: 1.1;
  white-space: nowrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 1.1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav a.active {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 1rem auto 2.5rem;
  border-radius: 24px;
  min-height: 520px;
  color: #fff;
  box-shadow: var(--shadow);
  background: #071725;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 37, 0.35), rgba(7, 23, 37, 0.82)),
    url("https://images.unsplash.com/photo-1462899006636-339e08d1844e?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  filter: saturate(1.02);
  transform: scale(1.04);
  animation: hero-pan 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(203, 232, 220, 0.14), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(203, 232, 220, 0.12), transparent 30%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glow-shift 16s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  padding: 3rem 3rem 2.5rem;
  max-width: 760px;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin: 0.6rem 0 0.75rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #0e6b4b;
  margin: 0;
  background: rgba(14, 107, 75, 0.12);
  padding: 0.35rem 0.65rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lede {
  color: #e7f7f0;
  font-size: 1.05rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.hero-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  color: #dff8ee;
}

.stats p {
  margin: 0;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.stat-label {
  color: #c7e8dc;
}

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.text-link:hover {
  color: var(--accent-strong);
  transform: translateX(2px);
}

.hero .text-link {
  color: #f1e8de;
}

.listings,
.why,
.contact,
.impact {
  max-width: 1180px;
  margin: 0 auto 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.muted {
  color: var(--muted);
}

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

.property-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(8, 28, 45, 0.12);
  border: 1px solid rgba(14, 107, 75, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.property-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(14, 107, 75, 0.12), rgba(14, 107, 75, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(6, 32, 51, 0.18);
  border-color: rgba(14, 107, 75, 0.18);
}

.property-card:hover::after {
  opacity: 1;
}

.property-image {
  width: 100%;
  padding-top: 64%;
  background-size: cover;
  background-position: center;
}

.property-body {
  padding: 1rem;
  display: grid;
  gap: 0.4rem;
}

.property-body h3 {
  margin: 0.1rem 0;
  font-family: var(--font-display);
  color: var(--ink);
}

.property-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.price {
  color: var(--accent);
  font-size: 1.1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 107, 75, 0.08);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.1;
  height: fit-content;
}

.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 107, 75, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  width: fit-content;
}

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

.card {
  background: var(--panel);
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(14, 107, 75, 0.1);
  box-shadow: 0 12px 30px rgba(8, 28, 45, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(14, 107, 75, 0.08), transparent 30%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(6, 32, 51, 0.14);
  border-color: rgba(14, 107, 75, 0.18);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.hero-floats {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 0.25rem;
  max-width: 540px;
}

.float-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(14, 107, 75, 0.16);
  color: #e7f7f0;
  font-weight: 700;
  letter-spacing: 0.01em;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(6, 32, 51, 0.24);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: float 7s ease-in-out infinite;
}

.float-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0.6;
  transform: translateX(-20%);
  animation: sweep 5s ease-in-out infinite;
  pointer-events: none;
}

.float-pill.alt {
  background: rgba(14, 107, 75, 0.12);
  animation-duration: 8s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #f4fff9;
  box-shadow: 0 18px 38px rgba(14, 107, 75, 0.28);
}

.btn-secondary {
  color: #f4fff9;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 38px rgba(14, 107, 75, 0.28);
}

.hero-actions .btn-secondary {
  color: #f4fff9;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(14, 107, 75, 0.28);
}

.contact {
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(14, 107, 75, 0.12), rgba(14, 107, 75, 0.06));
  border: 1px solid rgba(14, 107, 75, 0.2);
}

.contact__content p {
  margin-top: 0;
  color: var(--muted);
  max-width: 520px;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 2rem;
  font-size: 0.9rem;
}

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

.impact-card {
  background: linear-gradient(145deg, rgba(14, 107, 75, 0.06), rgba(14, 107, 75, 0.01));
}

.impact-copy {
  max-width: 720px;
  padding: 0.5rem 0;
}

.impact-copy h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
}

.impact-copy p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-pan {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.08) translate3d(0, -6px, 0);
  }
}

@keyframes glow-shift {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(80%);
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1rem;
  }

  body {
    padding: 0 1rem 2rem;
  }

  .search-bar {
    border-radius: 16px;
  }

  .hero__content {
    padding: 2.5rem 1.5rem 2rem;
  }
}
