:root{
  --bg:#ffffff;
  --form-bg:#ffe929;       /* amarillo del formulario */
  --text:#09654c;          /* verde del texto */
  --accent:#09654c;
  --border:#cccccc;
}

/* Reset mínimo */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* Layout */
.container{
  max-width:820px;
  margin:40px auto;
  padding:0 16px;
  text-align:center;
}
.logo{
  display:block;
  margin:0 auto 12px auto;
  max-width:220px;
  height:auto;
}

/* Encabezado */
.promo-banner{
  background:var(--form-bg);
  color:var(--text);
  border:2px solid var(--border);
  border-radius:12px;
  padding:10px;
  margin:10px 0 16px 0;
}
.promo-banner h1{ margin:0; font-size:26px; }

/* Premios: */
.prizes {
  display: grid;
  grid-template-columns: 45% 45%; /* 90% en total */
  column-gap: 5%;                 /* espacio entre ellas */
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 8px 0 18px;
}

.prize {
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}


/* Card/Formulario */
.card{
  background:var(--form-bg);   /* <- AMARILLO */
  border:2px solid var(--border);
  border-radius:14px;
  padding:18px;
  box-shadow:0 8px 32px rgba(0,0,0,.08);
  text-align:left;
}
.field{ margin-bottom:14px; }
label{
  display:block; margin-bottom:6px; color:var(--text);
  font-size:.95rem; font-weight:bold;
}
input,select{
  width:100%; padding:12px 14px; border-radius:10px;
  border:1px solid var(--border); background:#fff; color:var(--text);
  outline:none; font-size:1rem;
}
input:focus,select:focus{ border-color:var(--accent); box-shadow:0 0 0 2px rgba(9,101,76,.2); }
.helper{ margin-top:6px; font-size:.9rem; color:var(--text); }

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px){ .grid-2{ grid-template-columns:1fr } }

/* Botones */
.btn-primary,.btn-outline{
  display:inline-block; text-align:center; padding:12px 16px;
  border-radius:10px; border:1px solid transparent;
  text-decoration:none; cursor:pointer; user-select:none; font-weight:bold;
}
.btn-primary{ background:var(--accent); color:#fff; }
.btn-outline{ background:transparent; color:var(--text); border-color:var(--text); }
.btn-results{ margin-left:12px; }

/* Nota aclaratoria */
.notice{ margin-top:16px; }

/* Modal */
.modal{ position:fixed; inset:0; background:rgba(0,0,0,.5);
  display:flex; align-items:center; justify-content:center; padding:16px; z-index:9999; }
.modal-card{
  width:100%; max-width:560px; background:#fff; color:var(--text);
  border:2px solid var(--border); border-radius:16px; padding:18px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.modal-text{ white-space:pre-wrap; color:var(--text); margin:8px 0 12px; }
.modal-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.hidden{ display:none; }

/* CTA principal a ancho completo */
.btn-enviar-cta { width: 100%; }


/* Sección secundaria con fondo blanco */
.actions-secondary {
background: #ffffff;
padding: 16px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
margin-top: 16px;
}


/* Grid responsivo para los dos botones secundarios */
.actions-wrap {
  display: grid;
  grid-template-columns: 45% 45%;
  column-gap: 10%;
  justify-content: center;
  align-items: center;
  width: 100%;
}


/* Botones secundarios ocupan todo el ancho del grid */
.btn-secondary-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}


/* Botón Contacto (verde) */
.btn-contacto {
background-color: #25D366;
color: #fff;
border: none;
gap: 8px;
}
.btn-contacto:hover { filter: brightness(0.98); }


/* Normaliza el botón de resultados para que combine visualmente */
.btn-results.btn-secondary-full {
border: 2px solid #e1e1e1;
color: #e0dcdc;
background: #09654c;
}
.btn-results.btn-secondary-full:hover {
background: #f2f2f2;
}


/* Ícono de WhatsApp */
.icon-wa {
width: 20px; height: 20px;
}
