:root {
  --brand-green: #99cc33;
  --brand-green-strong: #86b72f;
  --text-dark: #2f3b2f;
  --text-muted: #5f6c5f;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-solid: #ffffff;
  --overlay: rgba(21, 28, 21, 0.48);
  --border-soft: rgba(153, 204, 51, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--text-dark);
  background: #f5f8ef;
}

.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.25rem 1.25rem;
}

.media-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.bg-video,
.bg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-fallback.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(21, 28, 21, 0.32), var(--overlay));
}

.hero {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(3px);
  padding: 2rem 1.6rem;
  text-align: center;
}

.logo {
  width: min(380px, 86%);
  margin: 0 auto 1.2rem;
}

.hero h1 {
  margin: 0;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-dark);
}

.services {
  list-style: none;
  padding: 0;
  margin: 1.4rem auto 1.6rem;
  display: grid;
  gap: 0.75rem;
  width: min(560px, 100%);
  text-align: left;
}

.services li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--text-dark);
  font-size: clamp(0.95rem, 2.2vw, 1.06rem);
}

.services li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.56em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-green);
}

.cta-button,
.submit-button {
  border: 0;
  border-radius: 8px;
  background: var(--brand-green);
  color: #ffffff;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.78rem 1.15rem;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.cta-button:hover,
.submit-button:hover {
  background: var(--brand-green-strong);
}

.site-footer {
  margin-top: auto;
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #e9f0dc;
  font-size: 0.9rem;
  padding: 0.8rem 0.25rem 0;
}

.site-footer p {
  margin: 0;
}

.whatsapp-link img {
  width: 42px;
  height: 42px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 15, 15, 0.54);
  z-index: 30;
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  background: var(--surface-solid);
  border-radius: 12px;
  padding: 1.45rem 1.2rem 1.25rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 0.38rem;
  right: 0.62rem;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #6b6b6b;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0 0 0.32rem;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-size: 1.5rem;
}

.modal-subtitle {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

form label {
  display: block;
  margin: 0.65rem 0 0.32rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.92rem;
}

form input,
form textarea {
  width: 100%;
  border: 1px solid #d8dfd0;
  border-radius: 8px;
  padding: 0.68rem 0.72rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  width: 100%;
  margin-top: 0.95rem;
}

.form-feedback {
  min-height: 1.2em;
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
}

.form-feedback.success {
  color: #2f7a19;
}

.form-feedback.error {
  color: #bb1f1f;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

body.modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .bg-video {
    display: none;
  }

  .bg-fallback {
    opacity: 1;
  }

  .cta-button,
  .submit-button {
    transition: none;
  }
}

@media (max-width: 720px) {
  .landing {
    padding-top: 1.6rem;
  }

  .hero {
    padding: 1.45rem 1rem;
    border-radius: 14px;
  }

  .site-footer {
    font-size: 0.85rem;
  }

  .whatsapp-link img {
    width: 36px;
    height: 36px;
  }
}
