:root {
  --green: #123d32;
  --green-2: #1f6a55;
  --green-soft: #e9f3ef;
  --gray-900: #15201c;
  --gray-700: #4f5e58;
  --gray-200: #dfe7e3;
  --gray-100: #f4f7f5;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(21, 32, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  display: block;
  max-width: 100%;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.logo strong {
  font-size: 1rem;
  line-height: 1.1;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--gray-700);
  font-size: 0.95rem;
}

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

.button,
.whatsapp,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.primary:hover,
.whatsapp:hover,
button:hover {
  background: var(--green-2);
}

.whatsapp.small {
  min-height: 42px;
  background: var(--green-2);
}

.outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: relative;
  min-height: min(710px, calc(100vh - 72px));
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 19, 0.82), rgba(7, 24, 19, 0.45) 52%, rgba(7, 24, 19, 0.1)),
    linear-gradient(0deg, rgba(18, 61, 50, 0.22), rgba(18, 61, 50, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 92vw);
  padding: clamp(82px, 12vw, 154px) clamp(18px, 5vw, 64px) 110px;
  color: var(--white);
}

.hero-content p,
.section-title p,
.services p {
  margin: 0 0 10px;
  color: #bde6d4;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 4.8vw, 4.55rem);
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
}

.hero-content > span {
  display: block;
  max-width: 650px;
  margin: 20px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.search {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 36px));
  margin: -46px auto 36px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--gray-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--gray-900);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font: inherit;
  text-transform: none;
}

input:focus,
select:focus {
  outline: 3px solid rgba(31, 106, 85, 0.18);
  border-color: var(--green-2);
}

.section,
.services,
.finance,
.contact-cta {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.section-title {
  margin-bottom: 24px;
}

.section-title p,
.services p {
  color: var(--green-2);
}

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

.card,
.service-grid article,
form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.card {
  overflow: hidden;
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--green-soft);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag,
.code {
  position: absolute;
  left: 12px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(18, 61, 50, 0.92);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.tag {
  top: 12px;
}

.code {
  bottom: 12px;
}

.card-body {
  display: grid;
  gap: 11px;
  padding: 16px;
}

.card h3 {
  font-size: 1.08rem;
}

.location,
.features {
  color: var(--gray-700);
  font-size: 0.92rem;
}

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

.features span {
  padding: 5px 8px;
  background: var(--gray-100);
  border-radius: 8px;
}

.price {
  color: var(--green);
  font-size: 1.14rem;
  font-weight: 900;
}

.card .whatsapp {
  width: 100%;
}

.empty {
  display: none;
  margin: 0;
  padding: 24px;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.services {
  border-top: 1px solid var(--gray-200);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.service-grid article {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.service-grid strong {
  color: var(--green);
  font-size: 1.14rem;
}

.service-grid span,
.finance .section-title span,
.contact-cta span {
  color: var(--gray-700);
}

.finance {
  display: grid;
  gap: 24px;
  padding: 40px;
  background: var(--green-soft);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.finance .section-title {
  margin-bottom: 0;
}

.finance h2 {
  margin-bottom: 10px;
}

.finance-form {
  grid-template-columns: repeat(3, 1fr);
}

.finance-form label:first-child {
  grid-column: auto;
}

.finance-form .finance-submit,
.finance-form button[type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
}

.finance-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.finance-results[hidden] {
  display: none;
}

.finance-results article {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
}

.finance-results h3 {
  color: var(--green);
  font-size: 1.04rem;
}

.finance-results p {
  margin: 0;
  color: var(--gray-700);
}

.finance-results strong {
  color: var(--gray-900);
}

.finance-summary .whatsapp {
  width: 100%;
  margin-top: 6px;
  text-align: center;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 64px;
}

.contact-cta span {
  max-width: 720px;
  font-size: 1.04rem;
}

.contact-cta .whatsapp {
  flex: 0 0 auto;
  background: var(--green-2);
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

form label:first-child,
.check,
form button {
  grid-column: 1 / -1;
}

.finance-form label:first-child {
  grid-column: auto;
}

.finance-form .finance-submit,
.finance-form button[type="submit"] {
  grid-column: 1 / -1;
  width: 100%;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--gray-700);
  font-size: 0.86rem;
  line-height: 1.35;
  text-transform: none;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

button {
  min-height: 50px;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green-2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--gray-700);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 1100px) {
  .search {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 780px) {
  .header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .search,
  .service-grid,
  form {
    grid-template-columns: 1fr;
  }

  .finance-form,
  .finance-results {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(7, 24, 19, 0.86), rgba(7, 24, 19, 0.2));
  }

  form label:first-child,
  .check,
  form button {
    grid-column: auto;
  }

  .finance-form .finance-submit,
  .finance-form button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
  }

  .contact-cta {
    display: grid;
    padding-bottom: 64px;
  }

  .contact-cta .whatsapp {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .header {
    gap: 12px;
    min-height: 66px;
  }

  .logo strong {
    display: none;
  }

  .logo span {
    width: 40px;
    height: 40px;
  }

  .whatsapp.small {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero-content {
    padding-top: 82px;
  }

  h1 {
    font-size: 2.16rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .finance {
    padding: 24px 18px;
  }

  footer {
    display: grid;
    padding-bottom: 86px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-width: 132px;
    max-width: calc(100% - 24px);
  }
}
