:root {
  --green: #167245;
  --green-dark: #0f5131;
  --green-soft: #e9f5ee;
  --earth: #8a6a3e;
  --earth-soft: #f5efe5;
  --ink: #1f2a24;
  --muted: #5d695f;
  --line: #dde5dc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(24, 48, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.section-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 49, 31, 0.88) 0%, rgba(12, 49, 31, 0.64) 52%, rgba(12, 49, 31, 0.36) 100%),
    linear-gradient(135deg, #174f34 0%, #8a6a3e 100%);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.52;
  z-index: -1;
}

.hero__content {
  position: relative;
  padding: 72px 0 64px;
}

.hero__logo {
  display: block;
  width: 152px;
  height: auto;
  margin-bottom: 34px;
  object-fit: contain;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--earth-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--green);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4.7rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero__text {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button--secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.72);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 64px 0;
}

.section--benefits {
  background: var(--earth-soft);
}

.benefit-grid,
.project-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.benefit-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.benefit-card {
  padding: 22px;
}

.benefit-card p,
.project-card p,
.final-cta p {
  margin: 0;
  color: var(--muted);
}

.benefit-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0 18%, var(--green) 19% 100%);
}

.section--projects {
  background: var(--white);
}

.project-card {
  overflow: hidden;
}

.project-card__image {
  min-height: 220px;
  background-color: var(--green-soft);
  background-position: center;
  background-size: cover;
}

.project-card__image--panorama {
  background-image:
    linear-gradient(135deg, rgba(15, 81, 49, 0.2), rgba(138, 106, 62, 0.16)),
    url("/assets/panorama.jpg");
}

.project-card__image--brisas {
  background-image:
    linear-gradient(135deg, rgba(15, 81, 49, 0.2), rgba(138, 106, 62, 0.16)),
    url("/assets/brisas.jpg");
}

.project-card__body {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.project-card__body .button {
  width: 100%;
  margin-top: auto;
}

.section--financing {
  color: var(--white);
  background: var(--green-dark);
}

.section--financing .section-kicker,
.section--financing h2 {
  color: var(--white);
}

.financing {
  display: grid;
  gap: 30px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 12px;
  height: 7px;
  border-left: 3px solid #a9e7c5;
  border-bottom: 3px solid #a9e7c5;
  transform: rotate(-45deg);
}

.section--final {
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.88), rgba(245, 239, 229, 0.98)),
    url("/assets/panorama.jpg") center / cover;
}

.final-cta {
  text-align: center;
}

.final-cta p {
  max-width: 580px;
  margin: 16px auto 28px;
  font-size: 1.08rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: #1fa855;
  box-shadow: 0 14px 30px rgba(20, 76, 44, 0.28);
  font-weight: 800;
  text-decoration: none;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: var(--green);
}

@media (min-width: 700px) {
  .section-wrap {
    width: min(1120px, calc(100% - 56px));
  }

  .hero__actions {
    flex-direction: row;
  }

  .button {
    width: auto;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .section {
    padding: 86px 0;
  }

  .hero {
    min-height: 720px;
  }

  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .financing {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}
