:root {
  --green: #1f7a45;
  --green-dark: #14532d;
  --orange: #f28c28;
  --white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.88);
  --overlay: rgba(8, 20, 12, 0.7);
  --border: rgba(255, 255, 255, 0.18);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: #eef4ee;
}

input,
select,
button {
  font: inherit;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    linear-gradient(var(--overlay), var(--overlay)),
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(242, 140, 40, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(20, 83, 45, 0.08), rgba(20, 83, 45, 0.2));
  pointer-events: none;
}

.hero-nav,
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-nav {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  color: var(--text-soft);
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.call-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.call-btn:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--white);
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 0 28px;
}

.hero-location {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d9f4de;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.05;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
  margin: 18px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-soft);
}

.hero-trust-strip {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  align-items: flex-start;
}

.primary-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.cta-microcopy {
  margin: 0;
  padding-left: 4px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

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

.btn-primary {
  background: var(--orange);
  color: #1b1b1b;
  padding: 18px 32px;
  min-width: 250px;
  box-shadow: 0 18px 36px rgba(242, 140, 40, 0.32);
}

.btn-primary:hover {
  background: #ff9f43;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  opacity: 0.92;
  box-shadow: 0 0 0 1px rgba(242, 140, 40, 0.18), 0 12px 26px rgba(0, 0, 0, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

.btn-whatsapp {
  min-width: 190px;
  padding: 14px 20px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  background: rgba(37, 211, 102, 0.06);
  color: #bdeccb;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.62);
}

.trust-line {
  margin: 26px 0 0;
  font-size: 1rem;
  color: #dff5e5;
  font-weight: 500;
}

.urgency-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(242, 140, 40, 0.14);
  border: 1px solid rgba(242, 140, 40, 0.32);
  color: #fff3df;
  font-weight: 600;
}

.lead-section {
  padding: 88px 20px;
  background:
    linear-gradient(180deg, #f7fbf6 0%, #eef6ee 100%);
}

.lead-section-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.lead-copy h2 {
  margin: 0;
  color: #16351f;
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead-copy p {
  margin: 12px 0 0;
  color: #4e6656;
  font-size: 1.05rem;
}

.lead-form {
  width: min(500px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 41, 24, 0.1);
  display: grid;
  gap: 10px;
  text-align: left;
}

.lead-form label {
  font-weight: 600;
  color: #1b3522;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.55;
  pointer-events: none;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 15px 16px 15px 40px;
  border: 1px solid #d7e3d7;
  border-radius: 14px;
  background: #fbfdfb;
  color: #16351f;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form select {
  padding: 12px 40px 12px 14px;
  font-size: 15px;
}

.field-note {
  margin: -2px 0 2px;
  color: #69806f;
  font-size: 0.9rem;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: rgba(242, 140, 40, 0.8);
  box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.12);
}

.field-error {
  min-height: 18px;
  margin: -2px 0 2px;
  color: #c03d2b;
  font-size: 0.88rem;
}

.lead-submit-btn,
.lead-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.lead-submit-btn {
  margin-top: 8px;
  padding: 16px;
  background: var(--orange);
  color: #17140d;
  font-size: 16px;
  box-shadow: 0 16px 30px rgba(242, 140, 40, 0.22);
  cursor: pointer;
}

.lead-submit-btn:hover {
  transform: translateY(-2px);
  background: #ff9f43;
}

.lead-microcopy {
  margin: 4px 0 0;
  text-align: center;
  color: #69806f;
  font-size: 0.92rem;
}

.lead-whatsapp-link {
  margin-top: -2px;
  text-align: center;
  color: #1b7a44;
  font-size: 0.9rem;
  font-weight: 500;
}

.lead-whatsapp-link:hover {
  color: #14532d;
}

.lead-success-message {
  min-height: 24px;
  margin: 6px 0 0;
  text-align: center;
  color: #1f7a45;
  font-weight: 600;
}

.lead-whatsapp-btn {
  display: none;
  margin-top: 6px;
  border: 1px solid rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.1);
  color: #116234;
}

.lead-whatsapp-btn:hover {
  transform: translateY(-2px);
  background: rgba(37, 211, 102, 0.16);
}

.lead-whatsapp-btn.is-visible {
  display: inline-flex;
}

.subsidy-section {
  padding: 88px 20px;
  background: #f8fbf7;
}

.subsidy-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 36px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 41, 24, 0.08);
}

.subsidy-content h2 {
  margin: 0;
  color: #183521;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  max-width: 13ch;
}

.subsidy-content h2 span {
  color: var(--orange);
}

.subsidy-eyebrow {
  margin: 0 0 14px;
  color: #1f7a45;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subsidy-subtext {
  margin: 18px 0 0;
  color: #4d6555;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 56ch;
}

.subsidy-highlight {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 140, 40, 0.12), rgba(31, 122, 69, 0.08));
  border: 1px solid rgba(242, 140, 40, 0.18);
  color: #1d3524;
  font-weight: 700;
  line-height: 1.6;
}

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

.subsidy-points li {
  position: relative;
  padding-left: 32px;
  color: #335041;
  line-height: 1.6;
}

.subsidy-points li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 122, 69, 0.12);
  color: #1f7a45;
  font-weight: 800;
  font-size: 0.9rem;
}

.subsidy-trust-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(31, 122, 69, 0.08);
  color: #1f6b3f;
  font-weight: 700;
  line-height: 1.5;
}

.subsidy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--orange);
  color: #17140d;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(242, 140, 40, 0.2);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.subsidy-btn:hover {
  transform: translateY(-2px);
  background: #ff9f43;
}

.subsidy-urgency {
  margin: 14px 0 0;
  color: #b55d10;
  font-size: 0.95rem;
  font-weight: 700;
}

.subsidy-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(18, 41, 24, 0.14);
}

.projects-section {
  padding: 88px 20px;
  background: #ffffff;
}

.projects-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.projects-heading h2 {
  margin: 0;
  color: #183521;
  font-size: clamp(2rem, 4vw, 3rem);
}

.projects-heading p {
  margin: 14px auto 0;
  max-width: 46rem;
  color: #566d5d;
  font-size: 1.05rem;
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.project-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(18, 41, 24, 0.08);
  text-align: left;
  transition: box-shadow 0.25s ease;
}

.project-card:hover {
  box-shadow: 0 24px 58px rgba(18, 41, 24, 0.12);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card-body {
  padding: 18px 18px 22px;
}

.project-card-body p {
  margin: 0 0 6px;
  color: #274234;
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 600;
}

.project-card-body p:last-child {
  margin-bottom: 0;
}

.project-meta {
  display: inline-block;
  margin-top: 10px;
  color: #6a7f70;
  font-size: 0.88rem;
  font-weight: 600;
}

.projects-trust-line {
  margin: 32px 0 0;
  color: #1f7a45;
  font-size: 1.05rem;
  font-weight: 700;
}

.projects-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--orange);
  color: #17140d;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(242, 140, 40, 0.2);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.projects-btn:hover {
  transform: translateY(-2px);
  background: #ff9f43;
}

.projects-urgency-line {
  margin: 14px 0 0;
  color: #b55d10;
  font-size: 0.95rem;
  font-weight: 700;
}

.projects-whatsapp-line {
  display: inline-block;
  margin-top: 10px;
  color: #1f7a45;
  font-size: 0.92rem;
  font-weight: 600;
}

.projects-whatsapp-line:hover {
  color: #14532d;
}

@media (max-width: 860px) {
  .hero {
    padding: 18px 16px 28px;
  }

  .hero-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 10px;
  }

  .nav-menu.open {
    display: flex;
  }

  .call-btn {
    width: 100%;
    text-align: center;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .primary-cta-group {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .lead-section {
    padding: 72px 16px;
  }

  .lead-form {
    padding: 22px 18px;
  }

  .subsidy-section {
    padding: 72px 16px;
  }

  .subsidy-inner {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .subsidy-content h2 {
    max-width: 100%;
  }

  .subsidy-visual img {
    min-height: 260px;
  }

  .projects-section {
    padding: 72px 16px;
  }

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

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
