:root {
  --verde-brote: #5C9E2A;
  --marron-tierra: #6B4226;
  --crema: #F5F0E6;
  --texto: #2E2A22;
  --font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--crema);
  color: var(--texto);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
}

.header-inner {
  display: flex;
  justify-content: center;
}

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

/* Hero */
.hero {
  text-align: center;
  padding: 40px 0 80px;
}

.hero-seed {
  height: 90px;
  width: auto;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--marron-tierra);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--texto);
}

.btn-cta {
  display: inline-block;
  background-color: var(--verde-brote);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  padding: 16px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 4px 14px rgba(92, 158, 42, 0.35);
}

.btn-cta:hover {
  background-color: #4d8621;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(92, 158, 42, 0.45);
}

.btn-cta:active {
  transform: translateY(0);
}

/* About */
.about {
  padding: 20px 0 80px;
}

.about-inner p {
  text-align: center;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  color: var(--marron-tierra);
}

/* CTA section */
.cta-section {
  background-color: rgba(92, 158, 42, 0.08);
  padding: 64px 0;
  border-top: 1px solid rgba(107, 66, 38, 0.1);
}

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

.cta-inner h2 {
  font-size: 1.8rem;
  color: var(--marron-tierra);
  margin-bottom: 10px;
}

.cta-inner > p {
  margin-bottom: 28px;
  font-size: 1rem;
}

.form-row {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

#email-input {
  flex: 1 1 240px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid rgba(107, 66, 38, 0.2);
  font-family: var(--font);
  font-size: 1rem;
  background-color: #fff;
  color: var(--texto);
  outline: none;
  transition: border-color 0.15s ease;
}

#email-input:focus {
  border-color: var(--verde-brote);
}

#email-input.invalid {
  border-color: #c0392b;
}

.form-message {
  margin-top: 18px;
  min-height: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-message.success {
  color: var(--verde-brote);
}

.form-message.error {
  color: #c0392b;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(107, 66, 38, 0.12);
}

.footer-seed {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.85;
}

.footer-inner p {
  font-size: 0.9rem;
  color: var(--marron-tierra);
}

.footer-note {
  margin-top: 6px;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .form-row {
    flex-direction: column;
  }

  #email-input,
  .form-row .btn-cta {
    width: 100%;
  }
}
