/* BASE */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: #faf9f5;
  color: #333;
}

main {
  max-width: 960px;
  margin: 0 auto;
}

/* HEADER */
.top-bar {
  background: #faf9f5;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo img {
    height: 72px;
  }
}


/* HERO */
.hero {
  padding: 1.5rem 1.2rem 0.5rem;
}

.hero-card {
  background: #f3f0e7;
  border-radius: 28px;
  padding: 1.5rem 1.2rem 2rem;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.04);
}

.hero-illustration {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 1rem;
}

.hero-illustration img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.badge {
  display: inline-block;
  background: #d8e8cc;
  color: #446b36;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.hero-card h1 {
  margin: 0.2rem 0;
  font-size: 1.9rem;
  color: #263420;
}

.hero-subtitle {
  margin: 0.3rem 0 0.6rem;
  font-size: 1.05rem;
  color: #3a4a32;
}

.hero-text {
  font-size: 0.98rem;
  color: #555;
  margin-bottom: 1.1rem;
}

.cta {
  background: #3f6d3c;
  color: #fff;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
}

/* SECCIONES GENERALES */

.section,
.pueblo,
.historia,
.newsletter {
  padding: 1.8rem 1.2rem;
}

.section-lead {
  font-size: 0.98rem;
  color: #555;
}

.section.soft {
  background: #f3f0e7;
}

/* PUEBLO */
.pueblo h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

/* CESTAS */

.chip-section {
  display: inline-block;
  margin-bottom: 0.3rem;
}

.cestas-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.cesta-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.04);
}

.cesta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.cesta-tag {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #666;
}

.cesta-card h3 {
  margin: 0.25rem 0;
  font-size: 1.35rem;
  color: #263420;
}

.cesta-pill {
  display: inline-block;
  background: #dfeeda;
  color: #446b36;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.cesta-card ul {
  margin: 0.6rem 0 0.8rem 1.2rem;
  padding: 0;
}

.cesta-card li {
  margin-bottom: 0.25rem;
}

.nota {
  font-size: 0.9rem;
  color: #555;
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* CÓMO FUNCIONA */

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.step {
  background: #fff;
  border-radius: 20px;
  padding: 1rem 0.8rem 1.1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.03);
  text-align: center;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #3f6d3c;
  color: #3f6d3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin: 0 auto 0.4rem;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #f0f3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2rem auto 0.7rem;
}

.step-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.step h3 {
  margin: 0.1rem 0 0.3rem;
  font-size: 1rem;
}

.step p {
  font-size: 0.9rem;
  color: #555;
}

/* TAGS / CHIPS */

.chip {
  display: inline-block;
  background: #dde9d3;
  color: #3f6d3c;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 1rem;
}

/* IMPACTO SOCIAL */

.impact-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.04);
}

/* MANIFIESTO */

.manifesto {
  background: #3f6d3c;
  color: #fff;
  padding: 2.1rem 1.4rem 2.3rem;
  border-radius: 28px;
  margin: 1.6rem 1.2rem 0.5rem;
}

.manifesto h2 {
  margin-top: 0;
}

/* HISTORIA */

.historia h2 {
  font-size: 1.35rem;
  margin-top: 0.5rem;
}

/* NEWSLETTER */

.newsletter {
  background: #f3f0e7;
  text-align: left;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.9rem 0 0.5rem;
}

.newsletter-form input {
  padding: 0.8rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d3d0c6;
  font-size: 0.95rem;
}

.newsletter-form button {
  background: #3f6d3c;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.newsletter .nota {
  font-size: 0.85rem;
  color: #555;
}

/* FOOTER */

.footer {
  padding: 2rem 1.4rem 2.4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #4f4f4f;
}

/* Página de gracias */
.gracias-body {
  background: #f6f5ef;
  font-family: Arial, sans-serif;
  padding: 40px;
  text-align: center;
}

.gracias-container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.gracias-container h1 {
  color: #254b27;
  font-size: 28px;
  margin-bottom: 20px;
}

.back-button {
  display: inline-block;
  margin-top: 20px;
  background: #254b27;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.back-button:hover {
  background: #1e3e20;
}
