:root {
  --ink: #171a1f;
  --muted: #6b706f;
  --line: #dedbd1;
  --paper: #f5f2ea;
  --white: #ffffff;
  --brand: #113e37;
  --brand-2: #276c61;
  --ochre: #b9904a;
  --clay: #9a4f3f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: var(--white);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(245, 242, 234, .95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  backdrop-filter: blur(14px);
}

.topbar {
  border-bottom: 1px solid rgba(255,255,255,.22);
  font-size: 12px;
}

.site-header.scrolled .topbar { border-color: var(--line); }

.topbar__inner {
  min-height: 34px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  opacity: .9;
}

.nav__inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand span { color: var(--ochre); }

.nav__links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}

.nav__cta {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid currentColor;
  padding: 0 18px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 150px 0 34px;
}

.hero__slides, .hero__slide, .hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slide {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 6s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(7,23,22,.82), rgba(7,23,22,.42) 48%, rgba(7,23,22,.28)),
    linear-gradient(0deg, rgba(7,23,22,.78), rgba(7,23,22,0) 42%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 78px;
}

.hero__eyebrow, .section-kicker {
  margin: 0 0 16px;
  color: var(--ochre);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero h1, .investment h2, .about h2, .section-head h2, .why h2, .contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 { max-width: 850px; }
.hero__text {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--brand); }
.btn--outline-light { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--dark { background: var(--brand); color: var(--white); }
.btn--full { width: 100%; }

.hero__projects {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.22);
}

.hero-card {
  min-height: 142px;
  padding: 22px;
  background: rgba(12,37,34,.78);
  border: 0;
  color: rgba(255,255,255,.78);
}

.hero-card.is-active { background: rgba(255,255,255,.96); color: var(--ink); }
.hero-card span { color: var(--ochre); font-weight: 800; font-size: 12px; }
.hero-card h2 { margin: 10px 0 6px; font-size: 21px; color: inherit; }
.hero-card p { margin: 0; font-size: 14px; }

.investment, .about, .properties, .why, .contact {
  padding: 92px 0;
}

.investment { background: var(--white); }
.investment__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: end;
}

.investment h2, .about h2, .section-head h2, .why h2, .contact h2 {
  font-size: clamp(31px, 4vw, 50px);
}

.investment p, .about p, .why p, .contact p {
  color: var(--muted);
  font-size: 16px;
}

.investment__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.investment__links a {
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-weight: 800;
}

.about {
  background: var(--brand);
  color: var(--white);
}

.about p { color: rgba(255,255,255,.75); }
.about__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255,255,255,.2);
}

.stats div {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.stats strong {
  display: block;
  color: var(--ochre);
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.stats.animated strong {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.72);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 36px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  min-height: 38px;
  padding: 0 14px;
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.properties__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.property-card {
  background: var(--white);
  min-width: 0;
  box-shadow: 0 1px 0 var(--line);
}

.property-card.hidden { display: none; }
.property-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card__body { padding: 18px; }
.property-card__body span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.property-card h3 {
  margin: 9px 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.property-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.property-card a { font-weight: 800; color: var(--brand); }

.why {
  background: var(--white);
}

.why__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.why__image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.why__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.why__list article {
  border-top: 2px solid var(--ochre);
  padding-top: 16px;
}

.why__list h3 { margin: 0 0 8px; }
.why__list p { margin: 0; font-size: 14px; }

.contact {
  background: #ddd4c3;
}

.contact__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}

.contact__form {
  display: grid;
  gap: 14px;
  background: var(--white);
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact__form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact__form input, .contact__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfaf6;
  padding: 12px;
  color: var(--ink);
}

.form-success {
  display: none;
  margin: 0;
  color: var(--brand);
  font-weight: 800;
}

.footer {
  background: #111816;
  color: rgba(255,255,255,.68);
  padding: 52px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 42px;
}

.brand--footer { display: inline-block; color: var(--white); margin-bottom: 12px; }
.footer h4 { margin: 0 0 12px; color: var(--white); }
.footer a { display: block; margin-bottom: 6px; }
.footer p { margin: 0; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

@media (max-width: 960px) {
  .investment__grid, .about__grid, .why__grid, .contact__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .properties__grid { grid-template-columns: repeat(2, 1fr); }
  .why__image img { height: 360px; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav__inner { height: 68px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; }
  .nav__cta { justify-content: center; margin-top: 8px; }
  .hero { padding-top: 110px; min-height: 92vh; }
  .hero__content { padding-bottom: 36px; }
  .hero__projects, .stats, .investment__links, .why__list, .footer__grid {
    grid-template-columns: 1fr;
  }
  .section-head { display: block; }
  .filters { margin-top: 20px; }
  .properties__grid { grid-template-columns: 1fr; }
  .contact__form { padding: 22px; }
}
